this question has been resolved,.. thanks to the list for the help :)
Mike
Jayakumar Rajagopal wrote:
-----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 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 accomplish this task. :)
TIA
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>