in reply to PERL Monks! Lend me your wisdom - Program Monitor

Not really a perl question, per se, but OK. If
  1. You are lazy (and if you are a programmer, you probably are)
  2. You are running on *nix
  3. The restart does not have to be immediate
  4. You don't need to have logic to diagnose chronic/constant failures
Then add a cron job that runs every couple of minutes and starts it if it is not there. Not pretty, but 15 minute's work, tops.
  • Comment on Re: PERL Monks! Lend me your wisdom - Program Monitor