[SunHELP] cron question

sunhelp at sunhelp.org sunhelp at sunhelp.org
Wed Sep 26 06:43:00 CDT 2001


Folks,

I need some help on crontabs...

I have a script that needs to be run:

at 11:45 PM

on the 27th through the 31st and the 1st through the 4th each month

only Monday thru Friday

I have the following crontab entry:

45 23 27-31,1-4 * 1-5 /usr/local/script

Unfortunately, it is running every night....

Is there some sort of "precedence" in cron?

(e.g.) since I have set the "weekday" field at "1-5"
           is this overriding the "day of month field"?

Thanks!

DaveZ




More information about the SunHELP mailing list