Mutt
如何重新啟動離線imap?
我
offlineimap
正在使用*/10 * * * * offlineimap -q -u quiet
. 每隔一段時間,它似乎就會被打斷,當這種情況發生時,我無法重新啟動它。如果我嘗試從終端執行它,我會收到一個錯誤,表明它已被鎖定:OfflineIMAP 6.5.5 Licensed under the GNU GPL v2+ (v2 or any later version) Account sync Example: *** Processing account Example ERROR: Could not lock account Example. Is another instance using this account? *** Finished account 'Example' in 0:00 ERROR: Exceptions occurred during the run! ERROR: Could not lock account Example. Is another instance using this account? Traceback: File "/usr/lib/python2.7/dist-packages/offlineimap/accounts.py", line 240, in syncrunner self.lock() File "/usr/lib/python2.7/dist-packages/offlineimap/accounts.py", line 207, in lock OfflineImapError.ERROR.REPO)
有什麼辦法可以打破鎖或強制
offlineimap
退出嗎?
這似乎在 OfflineIMAP 6.6.1 中得到解決。