Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: cron script best practices

by IOrdy (Friar)
on Aug 10, 2005 at 23:34 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-29 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found