[CentOS] setup schedule cron job every other week?
John Doe
jdmls at yahoo.com
Wed Jan 6 11:01:47 UTC 2010
From: John Doe <jdmls at yahoo.com>
> From: mcclnx mcc
> > We have CENTOS 5 on DELL server. I tried to setup schedule cron job to run
> > every other week on Saturday (NOT first and third week ).
> Not tested, might work... maybe:
> 0 0 8-31/14 * 6 /script.sh
> 8-31/14 should skip the first week and then go every 2 weeks (unless the /14
> takes 1 for base instead of the 8)...
Or, just use 2 entries:
0 0 8-14 * 6 /script.sh
0 0 22-28 * 6 /script.sh
JD
More information about the CentOS
mailing list