We don't bite newbies here... much | |
PerlMonks |
Re: cron script best practicesby IOrdy (Friar) |
on Aug 10, 2005 at 23:34 UTC ( [id://482806]=note: print w/replies, xml ) | Need Help?? |
If your script runs often and is prone to overlap where the previous process is still running but cron fires up another one anyway you could use something like File::Pid. If your script sees that the last instance is still running just have it exit clean and wait for the next time cron fires it up.
In Section
Seekers of Perl Wisdom
|
|