Thread: CRON Question
View Single Post
Old 02-22-2011, 03:08 PM  
AzteK
Confirmed User
 
AzteK's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Northern Cali, USA
Posts: 3,445
The following line causes the user program test.pl – possibly a Perl script – to be run every two hours, namely at midnight, 2am, 4am, 6am, 8am, and so on:

0 */2 * * * /home/user/jim/test.pl


oh no I guess it's not what I wanted... :L

I need it to run like this:

1:00 /home/user/jim/test.pl
2:00 /home/user/jim/test2.pl
3:00 /home/user/jim/test3.pl
4:00 /home/user/jim/test4.pl

and so forth

Last edited by AzteK; 02-22-2011 at 03:10 PM..
AzteK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote