Thread: Cron question
View Single Post
Old 01-04-2006, 01:09 AM  
DarkPeter
Confirmed User
 
Industry Role:
Join Date: Sep 2005
Posts: 183
Cron question

I need a script to be runned by cron each 4 minutes so i should use

*/4

in minutes field. But what if i need that script to be runned each 4 minutes but exactly at 00, 04, 08, 12, 16, 20, 24, etc.? (= not for example 03, 07, 11,...) May i use

00,*/4

as correct syntax? It should do that in first 00 it will be runned although previous run could be at 59 and then it goes to each 4 minutes. Am i guessing it well or is it nonsense?
DarkPeter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote