crontab job entry
I want to verify the syntax of my crontab jobs before I set them to run on my server.
I have 2 scripts that I want to run automated.
Script 1 would run at 12 am, 4 am, 8am, 12pm, 4pm, 8pm (ie every 4 hours)
Script 2 would run at 11:30 am. 3:30 am, 7:30am, … every 4 hour 30min before the hour.
Now script 2 will supersede script 1, from my reading I can up with this syntax for crontab
30 3,7,11,15,19,23 * * * “script2”
0 0,4,8,12,16,20 * * * “script1”
So, 2 questions... 1, does the syntax look correct for what I’m trying to do and 2 will “script2” run first because of the time or will I have to do something else?
THX
Last edited by notolerance; 02-20-2005 at 02:10 PM.
|