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!
--
Thanks!
BR /
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
On October 31, 2007 07:58:21 am VeeJay wrote:
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
Quoting Mike Jeays [EMAIL PROTECTED]:
On October 31, 2007 07:58:21 am VeeJay wrote:
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/31/07, VeeJay wrote:
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?
Run monit.
On Wed, 31 Oct 2007 10:02:53 -0400
John Nielsen [EMAIL PROTECTED] wrote:
This should probably be something like ps -ax | grep 'status.pl' |
grep -v grep so you don't get false positives from the grep process
itself.
or simply use: pgrep status\.pl