Help with Cron pleazzzzzzzzzzzz

Bill Moran wmoran at potentialtech.com
Wed Oct 31 06:16:38 PDT 2007


In response to VeeJay <maanjee at gmail.com>:

> 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


More information about the freebsd-questions mailing list