Cron all day except weekends

Hi-
I need to run a cron job every minute between 11AM and 7PM Monday through Friday.

What would the correct format be?

Centos 4
Plesk

thanks
LVL 1
livegirlloveAsked:
Who is Participating?
 
antoxaConnect With a Mentor Commented:
sorry

0-59 11-19 * * 1-5 /path/to/your/command

WBR
0
 
antoxaCommented:
0-59 11-7 * * 1-5 /path/to/your/command

WBR
0
 
livegirlloveAuthor Commented:
thanks
just wondering why you used 0-59 instead of *?  isn't it the same thing?
0
 
antoxaCommented:
yes, where is could be used * or 0-59 or in vixie-cron */1
0
All Courses

From novice to tech pro — start learning today.