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 advise…

Have you considered something like daemontools?  It's designed for such
a task, as opposed to reinventing the wheel.

-- 
Bill Moran
http://www.potentialtech.com
_______________________________________________
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