Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread VeeJay
Hello Gurus…. I am running a status script written in Perl (*status.pl*) and want to have it *Always Running*. How can I check through CRON that status.pl is running and if NO, then start the script execution again? Please help and advise… With a bundle of thanks! -- Thanks! BR /

Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread Bill Moran
In response to VeeJay [EMAIL PROTECTED]: Hello Gurus…. I am running a status script written in Perl (*status.pl*) and want to have it *Always Running*. How can I check through CRON that status.pl is running and if NO, then start the script execution again? Please help and

Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread Mike Jeays
On October 31, 2007 07:58:21 am VeeJay wrote: Hello Gurus…. I am running a status script written in Perl (*status.pl*) and want to have it *Always Running*. How can I check through CRON that status.pl is running and if NO, then start the script execution again? Please help and

Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread John Nielsen
Quoting Mike Jeays [EMAIL PROTECTED]: On October 31, 2007 07:58:21 am VeeJay wrote: I am running a status script written in Perl (*status.pl*) and want to have it *Always Running*. How can I check through CRON that status.pl is running and if NO, then start the script execution again? Please

Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/07, VeeJay wrote: I am running a status script written in Perl (*status.pl*) and want to have it *Always Running*. How can I check through CRON that status.pl is running and if NO, then start the script execution again? Run monit.

Re: Help with Cron pleazzzzzzzzzzzz

2007-10-31 Thread RW
On Wed, 31 Oct 2007 10:02:53 -0400 John Nielsen [EMAIL PROTECTED] wrote: This should probably be something like ps -ax | grep 'status.pl' | grep -v grep so you don't get false positives from the grep process itself. or simply use: pgrep status\.pl