If I understand you correctly, you want to allow only one invocation of you script running at the same time. If this is the case, then take a look at Highlander - there can be only one!!
-- Hofmator
In reply to Re: Locking files
by Hofmator
in thread Locking files
by Ras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |