Nicolas Sebrecht <[email protected]> writes: > How? From a shell script? contab? > As any other unix program, OfflineIMAP returns exit code non-zero on > errors.
I run offlineimap from a crontab, but only under certain conditions - for example, on my home network. I understand that the program itself returns an exit code. I could write some sort of wrapper to note a successful error code and jot a note someplace. What I was wondering is this - is there something I can look at in the offlineimap data itself indicating time of last successful run? For example, timestamp of ~/.offlineimap/pid indicates last time offlineimap was run (no idea if it ran successfully - meaning all accounts were synced). Does that make sense? In short, I'd rather not write some sort of framework on top if the data is available. _______________________________________________ OfflineIMAP-project mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project OfflineIMAP homepages: - https://github.com/OfflineIMAP - http://offlineimap.org
