Thread: Cron question
View Single Post
Old 01-04-2006, 01:20 AM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by DarkPeter
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?
Simply */4 should do it...
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote