http://qs321.pair.com?node_id=11134249


in reply to singleton lock not reliable

Some remarks
Regarding debugging

You shouldn't rely on ps for debugging, append with >> to (another) absolute_path/logfile when your script is

including process ID and timestamp.

Please come back if you can really reproduce a problem.

Maybe of help:

File lock demo

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery