Perl-Sensitive Sunglasses | |
PerlMonks |
Re: RFC: A new module to help avoid running multiple instances of the same script (via cron, for example)by JavaFan (Canon) |
on Dec 02, 2009 at 23:43 UTC ( [id://810710]=note: print w/replies, xml ) | Need Help?? |
I often use:
Note that file locking solutions only prevent concurrent running on the same OS instance. If the job can be run from different machines, but you want to prevent concurrent runs from different boxes, you'll need a different solution. (Acquiring a database lock for instance).
In Section
Meditations
|
|