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 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!
Description: PGP signature