I've got a Perl program that is run once an hour as a cron job. Normally it finishes its task in about ten minutes, but occasionally it takes more than an hour to complete. When this happens, a second copy is started, the two copies step on each others' toes, and both crash.
I'm looking for the second copy to know that another copy is running and exit after logging a message to that effect. Any method needs to work properly if the first copy crashes rather than exiting cleanly. Thanks, Mark Wagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/