CRONTAB question

Christofer C. Bell cbell at jayhawks.net
Fri Apr 21 07:12:42 CDT 2000


On Thu, 20 Apr 2000, Bradley Miller wrote:

> * 8-17,8-17,8-17,8-17,8-17 * * 1-5 /usr/local/batch/uploadpic.sh
> 
> Does this sound right? 

You don't need to have 8-17 in there 5 times.  The following is correct:

* 8-17 * * 1-5		/usr/local/batch/uploadpic.sh

            ^-- Monday through Friday

         ^- every month of the year

       ^ - every day of the month

   ^- 8am - 5pm on those days that fit between Monday 
		and Friday inclusive

^ - every minute of each of those hours that fit between
		8am and 5pm inclusive that also fit between
		Monday and Friday inclusive

-- 
Chris




More information about the Kclug mailing list