MDL-59594 cron: Allow graceful exit of cron and adhoc task cli's

This commit is contained in:
Brendan Heywood
2020-01-12 01:24:03 +11:00
parent 176b5202e0
commit b15c53f4fa
3 changed files with 8 additions and 2 deletions
+2
View File
@@ -74,4 +74,6 @@ if ($options['stop']) {
die;
}
\core\local\cli\shutdown::script_supports_graceful_exit();
cron_run();