![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: Re: Re: Re: Re: Determine if script is already runningby Limbic~Region (Chancellor) |
on Mar 04, 2003 at 21:53 UTC ( #240460=note: print w/replies, xml ) | Need Help?? |
Nitrox,
Not that I know of. There are things you can do to reduce the probability that the file will be accidentally deleted - security through obscurity. These things include:
Even with these suggestions, there is not the 100% guarantee. Sometimes you need decide that the probability is an acceptable risk and move on. If you are totally against checking the process table - semaphores may be the way to go. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|