crontab problem

goommy iloveyunxuan at gmail.com
Tue Dec 4 08:34:37 UTC 2007


redhat-listhii,list!
	
I have a trouble with crontab!
I want to run a script every two times between 9:00 to 15:00 from monday to freiday!

And i add "*/2 9-15 * * 1-5 /path/to/someshell.sh" with crontab.
But after 15:00 the script still running !
# more  /var/log/cron | grep someshell.sh
Dec  4 14:54:01 hexuncms-1123 crond[4867]: (root) CMD someshell.sh
Dec  4 14:56:01 hexuncms-1123 crond[5004]: (root) CMD someshell.sh
Dec  4 14:58:01 hexuncms-1123 crond[5103]: (root) CMD someshell.sh
Dec  4 15:00:01 hexuncms-1123 crond[5197]: (root) CMD someshell.sh
Dec  4 15:02:01 hexuncms-1123 crond[5863]: (root) CMD someshell.sh
Dec  4 15:04:01 hexuncms-1123 crond[5902]: (root) CMD someshell.sh
 








More information about the redhat-list mailing list