RE: How to prevent duplicate cron jobs?

2006-04-21 Thread Lewis, Cory \(Genworth\)
> 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

RE: PS what is the correct/efficient function to create a file

2005-11-08 Thread Lewis, Cory \(Genworth\)
open(FILEHANDLE, "+>$filename"); would create a file for writing in the current directory named whatever was in $filename. > -Original Message- > From: Tom Allison [mailto:[EMAIL PROTECTED] > Sent: Monday, November 07, 2005 7:37 PM > To: Timothy Johnson > Cc: ZHAO, BING; [EMAIL PROTECT