API to see last time offlineimap successfully ran?

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Feb 5 02:43:11 GMT 2016


On Thu, Feb 04, 2016 at 05:39:45PM -0800, Jeffrey DeLeo wrote:

> 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.

You have to work with your own wrapper. I would go for a shell script or
directly in Python. This is not hard to do but it's not provided by the
program.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list