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 script?

  whule true; do
    perl status.pl
  done

It will restart `status.pl' whenever it dies.
-- 
Best wishes,
Michaël
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to