[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] crontab
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