Syntactic Confectionery Delight | |
PerlMonks |
Re: Maximum # of concurrent runsby esh (Pilgrim) |
on Aug 19, 2003 at 16:46 UTC ( [id://284954]=note: print w/replies, xml ) | Need Help?? |
I've used LockFile::Simple for similar problems where I can only have one copy of a program running at a time. This module handles the waiting, retrying, cleaning up of stale lock files, and more. The problem gets a bit more complicated if you want to have a maximum of N copies running at a time. -- Eric Hammond
In Section
Seekers of Perl Wisdom
|
|