[Gllug] Crontab schedule question

Stig Brautaset stig at brautaset.org
Thu Nov 17 12:40:34 UTC 2005


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
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list