Help Plz... Cron Job question....hellp...

Tino Engel elrap at web.de
Wed Oct 31 19:43:38 PDT 2007


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071101/d13aa17d/attachment.pgp


More information about the freebsd-questions mailing list