in reply to Re: Auto-restarting script if it dies
in thread Auto-restarting script if it dies
On Unix, daemontools provides a fairly straightforward way to do exactly what merlyn describes without writing any code. It goes a step further, and has one additional process monitoring all of the monitoring process, with that process restarted by init. That's pretty foolproof, and it's straightforward to set up many monitored services.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Auto-restarting script if it dies
by mojodaddy (Pilgrim) on Mar 09, 2007 at 21:18 UTC | |
by jethro (Monsignor) on Mar 09, 2007 at 21:44 UTC | |
by sgifford (Prior) on Mar 10, 2007 at 05:12 UTC |
In Section
Seekers of Perl Wisdom