首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何重新启动脱机映射?

如何重新启动脱机映射?
EN

Unix & Linux用户
提问于 2016-04-19 04:56:44
回答 1查看 1.2K关注 0票数 3

我让offlineimap运行在*/10 * * * * offlineimap -q -u quiet的cron任务上。每隔一段时间,它似乎就会被打断,当这种情况发生时,我无法重新启动它。如果我试图从终端运行它,就会得到一个错误,指示它已被锁定:

代码语言:javascript
复制
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退出所有的方式?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2017-03-23 22:30:38

这似乎在OfflineIMAP 6.6.1中得到了解决。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/277437

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档