I have a cron job running perl and it is taking a very long time -- sometimes over 24 hours.
How can I have cron schedule my job daily, or even hourly, and have the perl code exit if a previouse instance of the job is still running? Some have suggested creating a file in /tmp and checking it before proceding. But what if a cron job exits prematurely, perhaps because of a division by zero, and does not delete the /tmp file? How do I set up a signal handler to gaurentee that the /tmp/do_not_run_yet file gets deleted when the cron job exits? Thanks, Siegfried -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>