[ale] crontab

Pete Hardie pete.hardie at gmail.com
Thu Apr 23 14:56:07 EDT 2009


On Thu, Apr 23, 2009 at 14:02, JK <jknapka at kneuro.net> wrote:
> IOW, putting "[ date test ] && command" in crontab seems superior
> IMO to having the date test inside the script being run. Someday
> you might want to run it on different days.

I'd opt for a wrapper script that took the weekday and the commands,
so you could make it
a little more clear what was going on

like this:

0 0 1-7 * * runOnNthWeekday 1 Thu <command> <args>




-- 
Pete Hardie
--------
Better Living Through Bitmaps


More information about the Ale mailing list