> Any ideas on how to do this? Any suggestions on the process?
Simple lock (like flock(3)) in the perl script. Lock some ${FILE},
and if you can't get the lock, die. The file should contain the PID
of the process that holds the lock, so that a cleanerd can kill
stuck processes, or so that the lock can be blown away if needed.
Works like a charm.
M
--
Mark Murray
Warning: this .sig is umop ap!sdn
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Mark Murray
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Dima Dorfman
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Mark Murray
- Re: waiting for new files in a directory Peter Pentchev
- Re: waiting for new files in a directory Dan Langille
- Re: waiting for new files in a directory Peter Pentchev
- Re: waiting for new files in a directory Mike Bristow
- Re: waiting for new files in a direct... Peter Pentchev
- Re: waiting for new files in a di... Peter Pentchev

