To prevent multiple instances of the same script from running, I found it very beneficial to (try to) lock $0.
This approach will fail for symlinks and hardlinks maybe.
In reply to Re: Scheduling Perl Tasks
by Corion
in thread Scheduling Perl Tasks
by 9mohit2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |