![]() |
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? |
|
Quote:
|
You can control it like this:
0-59/4 or if you want it to run at 01, 05, ... 1-59/4 Hope this helps |
Quote:
very nice. :thumbsup |
Quote:
|
All times are GMT -7. The time now is 06:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123