good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Disowning CRON
by zby
|
|