Don't ask to ask, just ask | |
PerlMonks |
Re: Disowning CRONby zby (Vicar) |
on Jun 05, 2003 at 15:24 UTC ( [id://263371]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|