Help Plz... Cron Job question....hellp...
michaelgrunewald at yahoo.fr
Wed Oct 31 09:18:50 PDT 2007
VeeJay <maanjee at gmail.com> 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
It will restart `status.pl' whenever it dies.
More information about the freebsd-questions