Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-65229-stop-cron -
Description
We now have the ability to throttle cron process run time since MDL-64347.
These settings are only honored between runs of scheduled tasks in the cronlib, but some heavy tasks can still take many many hours (> 24 hours on big sites). Most of these scheduled tasks are processing some sort of large queue and it should also be able check whether it should continue between queue items.
The end game here is to eventually allow much fast clean exiting of cron when doing a new release, and this should be much simpler and a less contentious than MDL-57852
Then exiting gracefully via SIGTERM could be built on top of this MDL-59594
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-65201 Automated backup course ordering
-
- Closed
-
- has been marked as being related by
-
MDL-59594 Allow graceful fast exit of cron.php / adhoc_task.php via SIGTERM or SIGINT
-
- Closed
-
-
MDL-64359 Call shutdown handlers on SIGINT/SIGTERM
-
- Closed
-
- will help resolve
-
MDL-57852 Disable cron at site config level via gui and cli with fast shutdown
-
- Closed
-