Return code of offlineimap
Sebastian Spaeth
Sebastian at SSpaeth.de
Tue Feb 1 12:27:42 GMT 2011
On Tue, 1 Feb 2011 09:59:25 +0000 (UTC), Peter-Alexander Pöltl wrote:
> Ng Oon-Ee <ngoonee <at> gmail.com> writes:
>
> > I simply check using pidof /usr/bin/offlineimap
>
> Of course you can do this but it won't tell you if the last backup run was
> successful.
>
> I start it via a bash script and want to know if it was successful so I can take
> appropriate steps if not.
Nice of you to care enough about a year old mail to reply to it
:-P. That having said, we plan to document return codes better.
So far, it is 0: success, 1: error so your bash scripts can already work
with that. We definitely need more fine grained error codes in the near
future though.
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110201/67a6f7dc/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list