P is for Practical | |
PerlMonks |
Re: Ensuring only one copy of a perl script is running at a timeby tokpela (Chaplain) |
on Mar 25, 2011 at 00:13 UTC ( [id://895367]=note: print w/replies, xml ) | Need Help?? |
On Windows, I used Win32::Mutex to ensure that a process was not already running. However, I seem to remember that this only worked on a per user basis and did not prevent another user from running the same script. But since I was running using a scheduled task, it worked well.
In Section
Seekers of Perl Wisdom
|
|