Offlineimap doesn't get mails when running from cron
niels at kobschaetzki.net
Wed Jul 23 05:52:31 BST 2014
I googled a lot but I just cannot get offlineimap to run from a cronjob.
Looking into the logs and exits without an error which doesn't mean anything to me. And of course it doesn't get any mails.
*/5 * * * * /usr/bin/offlineimap -q -f INBOX -u TTYUI > /home/user/mycommand.log
*/20 * * * * /usr/bin/offlineimap -u quiet > /home/user/mycommand.log
I want to write into the mycommand.log right now just for
debugging-reasons but the file stays empty
The output in syslog shows the following:
Jul 23 06:08:01 venus CRON: (nik) CMD (/usr/bin/offlineimap -q -f
INBOX -u TTYUI >/home/nik/mycommand.log)
Jul 23 06:08:02 venus CRON: (CRON) info (No MTA installed,
Of course I tried basic and quiet as UIs as well.
More information about the OfflineIMAP-project