1753774 Members
6587 Online
108799 Solutions
New Discussion юеВ

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 2
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.