Re: cron jobs to restart a shell process ...

2013-02-04 Thread Wilko Fokken
On Mon, Feb 04, 2013 at 01:07:55PM +, Albretch Mueller wrote: > ~ > Sometimes I need to start a long running process which for various reasons > may > be stopped (server drops connection, OS kills it, ...) and I would like to > have > a somewhat automatic mechanism to check if it was stopped

Re: cron jobs to restart a shell process ...

2013-02-04 Thread Albretch Mueller
~ of course, as part of this algorithm there should be a way of determining if the job finished gracefully and there should be a way of recontextualizing each restart ... ~ lbrtchx -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Conta

cron jobs to restart a shell process ...

2013-02-04 Thread Albretch Mueller
~ Sometimes I need to start a long running process which for various reasons may be stopped (server drops connection, OS kills it, ...) and I would like to have a somewhat automatic mechanism to check if it was stopped and, in that case, restart it (of course, with a new process id) ~ This is wha