I have a script:
/usr/local/checkapache
and I want it to run every 20 minutes for every hour except 2-3 AM (when the apache server temporarily shuts down). How do I "exclude" an hour?
Exclude an hour in Cron?
Started by Pan, Oct 18 2007 04:41 PM
2 replies to this topic
#1
Posted 18 October 2007 - 04:41 PM
|
|
|
#2
Posted 27 June 2008 - 01:01 PM
Couldn't you just list the hours.... 1,4,5,6,7,8,9....... Excluding 2-3?
#3
Posted 28 June 2008 - 10:59 PM
Valor said:
Couldn't you just list the hours.... 1,4,5,6,7,8,9....... Excluding 2-3?
That's what you are supposed to be able to do. Just leave it out of the list. It was designed to be very flexible.


Sign In
Create Account


Back to top









