Thread: CRON Question
View Single Post
Old 02-22-2011, 06:18 PM  
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
And to make it more clear if you were just wanting a different script for each hour of the day I guess you could do something like:

0 1 * * * /home/user/jim/test.pl >/dev/null 2>&1
0 2 * * * /home/user/jim/test2.pl >/dev/null 2>&1
0 3 * * * /home/user/jim/test3.pl >/dev/null 2>&1

...

0 23 * * * /home/user/jim/test23.pl >/dev/null 2>&1

The ">/dev/null 2>&1" at the end says to discard the output so that it doesn't email it to you for each hour.

Hope this helps.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote