Re: How to prevent duplicate cron jobs?

2006-04-22 Thread Randal L. Schwartz
> ""siegfried"" == "siegfried" <[EMAIL PROTECTED]> writes: "siegfried"> How can I have cron schedule my job daily, or even hourly, and have the perl "siegfried"> code exit if a previouse instance of the job is still running? "There can be only one!" - The Highlander Solution, as described

RE: How to prevent duplicate cron jobs? On windows?

2006-04-21 Thread Kenneth A. Wolcott
n's cron on Win2003 Server. > > I tried using Unix::PID but ppm.bat for ActiveState Perl could not find it. > Sieg > > -Original Message- > From: JupiterHost.Net [mailto:[EMAIL PROTECTED] > Sent: Friday, April 21, 2006 2:45 PM > To: beginners@perl.org >

RE: How to prevent duplicate cron jobs? On windows?

2006-04-21 Thread siegfried
2:45 PM To: beginners@perl.org Subject: Re: How to prevent duplicate cron jobs? siegfried wrote: > 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

Re: How to prevent duplicate cron jobs?

2006-04-21 Thread JupiterHost.Net
siegfried wrote: 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? perldoc Unix::PID # job.pl that gets cro

Re: How to prevent duplicate cron jobs?

2006-04-21 Thread Octavian Rasnita
From: "siegfried" <[EMAIL PROTECTED]> > 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 su

RE: How to prevent duplicate cron jobs?

2006-04-21 Thread Mr. Shawn H. Corey
On Fri, 2006-21-04 at 14:48 -0400, Lewis, Cory (Genworth) wrote: > > > 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

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: How to prevent duplicate cron jobs?

2006-04-21 Thread John W. Krahn
siegfried wrote: > 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 f

How to prevent duplicate cron jobs?

2006-04-21 Thread siegfried
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 bef