API to see last time offlineimap successfully ran?
    Nicolas Sebrecht 
    nicolas.s-dev at laposte.net
       
    Thu Feb  4 21:36:24 GMT 2016
    
    
  
On Thu, Feb 04, 2016 at 12:51:11PM -0800, Jeffrey DeLeo wrote:
> Offlineimap is run periodically under certain conditions.
How? From a shell script? contab?
> I would like to know the last time it ran successfully.
As any other unix program, OfflineIMAP returns exit code non-zero on
errors.
This is quite the same if you're directly calling Offlineimap.run()
which returns the exit code.
>                                                         Purpose: include
> this information in conky display. Is there an api to access this
> information, or do I need to make something up?
-- 
Nicolas Sebrecht
    
    
More information about the OfflineIMAP-project
mailing list