[Gllug] Crontab schedule question

Kurt Goodliff kurt at lokdar.co.uk
Thu Nov 17 12:44:30 UTC 2005


Stig Brautaset wrote:

> On 17 Nov 2005, at 11:19, Alain Williams wrote:
>
>> On Thu, Nov 17, 2005 at 11:11:37AM +0000, Stig Brautaset wrote:
>>
>>> On 17 Nov 2005, at 10:53, Kurt Goodliff wrote:
>>>
>>>> I need to configure a job to run every second monday at 12:00. I've
>>>> got the job running on a weekly basis at the moment but am a little
>>>> confused about how to get it to skip a week.
>>>
> ...
>
>>> You should be able to solve your problem without adding smarts to
>>> your program by using "at". Schedule two jobs; one that executes your
>>> job, and another that schedules it and itself to run again in 14
>>> days. "man at" for details.
>>
>>
>> Nooooo !! That would be horribly fragile. Just think what happens if
>> something fails and stops that 'at' job resubmitting itself.
>
>
> Well, yeah. I didn't say that it was a *good* solution :)
>
> Stig

lol... I think I'm going to try some form of Alain's suggestion.

Thanks for the help

Cheers

Kurt
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list