Re: cron problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Bennett <chris@...>
Cc: Misc <misc@...>
Date: Thursday, July 2, 2009 - 12:33 pm

>>>>> "Chris" == Chris Bennett writes:

Chris> During testing, I put the following entry in cron:

Chris> 33 * * * * * LWP4.pl; LWP5.pl; LWP6.pl;

Chris> When it ran, I got 6 versions of each of these scripts running concurrently
Chris> and in order also.

If the total time to run the three scripts in sequence is greater than an
hour, you will get overlapping runs.

If you don't want that, you should put some sort of "highlander" ("there can
be only one!") locking in your scripts. I addressed this subject in
my column at: http://www.stonehenge.com/merlyn/WebTechniques/col54.html

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cron problem, Chris Bennett, (Thu Jul 2, 11:27 am)
Re: cron problem, Frank Bax, (Thu Jul 2, 12:36 pm)
Re: cron problem, steve szmidt, (Thu Jul 2, 2:41 pm)
Re: cron problem, Chris Bennett, (Thu Jul 2, 4:05 pm)
Re: cron problem, Frank Bax, (Thu Jul 2, 4:36 pm)
Re: cron problem, Chris Bennett, (Fri Jul 3, 8:03 am)
Re: cron problem, Robert, (Thu Jul 2, 1:01 pm)
Re: cron problem, Randal L. Schwartz, (Thu Jul 2, 12:33 pm)