The main restrictions are shown in the table.
Regular hosting | Business hosting | |
---|---|---|
Task launch frequency | No more than once every 15 minutes1) | Any |
Runtime limits | 1 hour | 4 hours |
Minimum start interval | 1 minute | 1 minute |
If the launched process does not have time to complete within the allotted time, it will be forcibly terminated by the system. Moreover, in cron log next to such a process the status “Killed».
If the execution time is insufficient, the following options are worth considering:
It is not possible to run tasks more than 1 time per minute using cron tools. If there is such a need, you should consider running the script in the background and setting the interval using the logic of the script itself. Please note: Running cron tasks too often can lead to high consumption server resources and errors in the operation of the hosting account sites due to their lack.
from 2-00 to 7-00