Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Can't install Sys::RunAlone

by gepebril69 (Beadle)
on Apr 11, 2012 at 22:52 UTC ( #964647=note: print w/ replies, xml ) Need Help??


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 :)


Comment on Re^2: Can't install Sys::RunAlone
Re^3: Can't install Sys::RunAlone
by Anonymous Monk on Apr 12, 2012 at 00:13 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-12-27 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls