Re: Frequent job scheduling like cron

2003-09-14 Thread ronnie gauthier
how about nameing the file with time() On Sun, 14 Sep 2003 13:29:22 -0700 - "Net Llama!" <[EMAIL PROTECTED]> wrote the following Re: Re: Frequent job scheduling like cron >On 09/14/03 13:13, Michael Hipp wrote: >> I have a job I need to run automatically at about every

Re: Frequent job scheduling like cron

2003-09-14 Thread Michael Hipp
Net Llama! wrote: seriously, you can have your script create some kind of lock file, and then whenever it runs, check for the existence of the lock file before proceeding. if it doesn't find one, then it should create a new lock file, do its thing, and when completed, delete its lock file. Good

Re: Frequent job scheduling like cron

2003-09-14 Thread Net Llama!
On 09/14/03 13:13, Michael Hipp wrote: I have a job I need to run automatically at about every 5 minutes. Cron could certainly do that. But if the job should run long, I don't want it to be started again while a previous instance is still running. And if the job should run 4.5 minutes, I don't n

Frequent job scheduling like cron

2003-09-14 Thread Michael Hipp
I have a job I need to run automatically at about every 5 minutes. Cron could certainly do that. But if the job should run long, I don't want it to be started again while a previous instance is still running. And if the job should run 4.5 minutes, I don't necessarily want it to run again in 30