HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

crontab/cronjob

 
rhansen
Frequent Advisor

crontab/cronjob

Hello,

I need to run a script to run every hour of the day from 1am to 6 am.

Does the below format looks correct?

* 1,2,3,4,5,6 * * * /usr/local/bin/check_status >/dev/null 2>&1
2 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: crontab/cronjob

Hi:

This will run every minute of every hour during the period beginning 0100 and ending 0659. If that isn't what you want, change the first "*" to some valid minute value (e.g. "0").

By the way, you have some recent un-evaluated threads that deserve attention too:

http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW313885&listType=unassigned&forumId=1

Regards!

...JRF...
rhansen
Frequent Advisor

Re: crontab/cronjob

Thanks, I have assigned points to previous threads as well.

My apology for making everyone wait for their deserving points.