View Single Post
Old 02-03-2021, 12:41 AM  
PretjeNL
Confirmed User
 
Industry Role:
Join Date: Dec 2013
Posts: 208
Quote:
Originally Posted by hdbuilder View Post
No, let me explain.

Let's say you wanna run your cron jobs every 10 minutes, you can use this syntax:

*/10

or

0,10,20,30,40,50

So if you have 3 sites and don't want to run those cron jobs at the same time you use:

0,10,20,30,40,50
2,12,22,32,42,52
4,14,24,34,44,54

so all 3 are running every 10 minutes but at an interval of 2 minutes -> so not at the same time which is much better for your server

Regards,
Nick
One more question Nick,

How long are the 2 cron jobs running for one site?

Thnx
PretjeNL is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote