Re: Keeping offlineimap running indefinately
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 27 Sep 2008, Daniel Skinner wrote:
> What is the best way to get offlineimap running permanently and to
> automatically get it back on its feet if any type of exception occurs?
Never tested, but you could doin the cron job a killall offlineimap and
then start a new. Or ps aux | grep ^youruser | grep offlineimap etc.
That way you ensure that no offlineimap is running before you fire up
the new instance
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@xxxxxxxx> Vienna University of Technology
Debian Developer <preining@xxxxxxxxxx> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ARAGLIN (n. archaic)
A medieval practical joke played by young squires on a knight aspirant
the afternoon he is due to start his vigil. As the knight arrives at
the castle the squires attempt to raise the drawbridge very suddenly
as the knight and his charger step on to it.
--- Douglas Adams, The Meaning of Liff
|
|