Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: cron script best practices

by IOrdy (Friar)
on Aug 10, 2005 at 23:34 UTC ( #482806=note: print w/replies, xml ) Need Help??


in reply to cron script best practices

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://482806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2023-01-30 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?