Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Disowning CRON

by zby (Vicar)
on Jun 05, 2003 at 15:24 UTC ( [id://263371]=note: print w/replies, xml ) Need Help??


in reply to Disowning CRON

I think you can put it into background at once. To do the exclusion you can lock $0. This way the daemon will just die when it is started when another copy of it is allready working. Just don't do it in the BEGIN block: Never lock $0 inside of a BEGIN block.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found