Enable setting of CRON interval #636
Replies: 1 comment 2 replies
-
The requirement for CRON jobs every 1 minute is not just a recommendation, it's a fundamental requirement. If you do not have CRON jobs running every minute you will have problems up to and including broken sites. To begin with, Joomla! update will break if it needs to continue running on another CRON job. Example situations: a. it starts at the end of the CRON job's maximum execution time b. it takes more than the CRON job's maximum execution time. However, Joomla's extract.php file is only unlocked for a short period of time, about 3 minutes. If you have CRON jobs executing every 5 minutes you will end up with a half-updated and 100% broken site. Even if you don't have a drastic problem like that, you will end up with half-updated sites for the duration of the interval between CRON jobs minus their maximum execution time. With CRON jobs every minute this duration is usually non-existent as the CRON job can run for longer than one minute, and at worst it's 45 seconds. So, no, I am not going to change the check time (which is currently 3 minutes, mind you!) because anything higher than that is GUARANTEED to cause functional problems to your sites, including breaking your site during an update. My recommendation is that you use a different hosting company, or just set up a cheap Nanode on Akamai (formerly Linode) for $5 a month. This has far more computing power, memory, and bandwidth that you'll reasonably need to tackle a couple hundred sites. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Great work!
Many hosting companies do not allow a cron job to run every minute. Mine, for example, only allows a cron task to be executed once an hour.
This leads to annoying warnings every time when I load a page in Akeeba Panopticon.
can you make it possible to set the check interval?
Best,
Eric
Beta Was this translation helpful? Give feedback.
All reactions