P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Perl has flock command for this kind of problems.
This recent discussion might be of interest: File lock demo please be aware that this also depends on the OS, I've tested it on Win. (you havent been explicitly telling us which one you use, but crontab is usually more *nix'ish)
Cheers Rolf In reply to Re: Mechanism for ensuring only one instance of a Perl script can only run?
by LanX
|
|