[CentOS] setup schedule cron job every other week?

John Doe jdmls at yahoo.com
Wed Jan 6 10:06:51 UTC 2010


From: mcclnx mcc <mcclnx at yahoo.com.tw>
> 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)...

JD


      



More information about the CentOS mailing list