Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: How can i check my script is already running?by Hue-Bond (Priest) |
on May 11, 2010 at 16:41 UTC ( [id://839474]=note: print w/replies, xml ) | Need Help?? |
Just a note: you need to exclude your "ps" check from the list of processes returned since it will also match your script path. I like to use the following trick, so as not to invoke an additional grep:
--
In Section
Seekers of Perl Wisdom
|
|