[CentOS] crontab

Helmut Drodofsky

drodofsky at internet-xs.de
Thu Jul 7 11:48:03 UTC 2011


I would like to run a program at 2:35 at the first Saturday of each odd month.
 
My solution:
35 2 1-7 1,3,5,7,9,11 6 /bin/program
 
The program was executed yesterday = Wednesday = day 3,  cron ignores the day of the week!
 
Is there a solution with cron - or have I to write a script to check the date?
 
Helmut
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110707/b2442ed4/attachment.html>


More information about the CentOS mailing list