Help Plz... Cron Job question....hellp...

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 Plz... Cron Job question....hellp...

2007-10-31 Thread Michaël Grünewald
VeeJay [EMAIL PROTECTED] writes: 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? Why don't you use the following SH

Re: Help Plz... Cron Job question....hellp...

2007-10-31 Thread Tino Engel
call a script called script.sh from cron e.g. every minute. script.sh contains: #!/bin/sh ps -a | grep status.pl | | perl status.pl Am Mittwoch 31 Oktober 2007 08:32 schrieb VeeJay: Hello Gurus…. I am running a status script written in Perl (*status.pl*) and want to have it *Always