What are you guys smoking? Use cron to run a spool scanning job every
minute or so, and use a lock file to make sure one doesn't start until
the previous one is done. Note that reliable locking is non-trivial in
Perl; a quick workaround is to use a lock directory instead (mkdir()
will fail if the directory exists; make sure to differentiate between
"somebody already holds the lock" and "the lock can't be created due
to permission errors or some other problem" by examining $!)

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to