PROTECTED]
Sent: Thursday, April 01, 2004 3:16 PM
To: Perl List
Subject: Check if another script running
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script(executed via a standard web form), on the same machine, is being
executed, I want the cron script "
-Original Message-
From: Mike Blezien [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:16 PM
To: Perl List
Subject: Check if another script running
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script(executed via a standard web form
On Thu, 01 Apr 2004 16:34:11 -0600
Mike Blezien <[EMAIL PROTECTED]> wrote:
> that was my original plan, but I though there maybe a better way
> others may use or suggest :)
>
> Appreciate the feedback,
If you are running this on a Unix/Linux system check out perldoc -f
flock. It enables advisory
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script(executed via a standard web form), on the same machine, is being
executed, I want the cron script "wait" or "sleep();" till the other script is
finished.
Is this possible to do and how is the best way to
On 4/1/2004 3:46 PM, Mike Blezien wrote:
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another
particular
script(executed via a standard web form), on the same machine, is being
executed, I want the cron script "wait" or "sleep();" till the other
script is
finished.
Is th
sorry.. I missed one thing..
This is the right condition line:
ps -ef | grep $0 | grep -v $$ | grep -v grep | grep $0
-Original Message-
From: Jayakumar Rajagopal
Sent: Thursday, April 01, 2004 5:30 PM
To: [EMAIL PROTECTED]; Perl List
Subject: RE: Check if another script running
I
Hi Randy,
that was my original plan, but I though there maybe a better way others may use
or suggest :)
Appreciate the feedback,
Mike
Randy W. Sims wrote:
On 4/1/2004 3:46 PM, Mike Blezien wrote:
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another
particular
script(e
did not check the stuff... ***
Jay
-Original Message-
From: Mike Blezien [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:47 PM
To: Perl List
Subject: Check if another script running
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script(executed via a standard web form), on the same machine, is being
executed, I want the cron script "wait" or "sleep();" till the other script is
finished.
Is this possible to do and how is the best way
Hello,
I need to setup a cronjob to run a script every 2hrs, but if another particular
script(executed via a standard web form), on the same machine, is being
executed, I want the cron script "wait" or "sleep();" till the other script is
finished.
Is this possible to do and how is the best way to
10 matches
Mail list logo