in reply to Re: Can't install Sys::RunAlone
in thread Can't install Sys::RunAlone
Thanks for the help. That sounds like a reasonable explanation to me.
In the meantime I've built a construction using PID files.
On script start it saves it's PID to a file
When script ends it removes it's PID file.
When you start the script you check on PID file, if it exists and a proces uses this PID you just exit and wait for the next TASK event.
Not 100% solid, but 99,999999% I guess :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can't install Sys::RunAlone
by Anonymous Monk on Apr 12, 2012 at 00:13 UTC | |
by Anonymous Monk on Apr 12, 2012 at 00:16 UTC |