MDL-59594 cron: Allow graceful exit of cron and adhoc task cli's
This commit is contained in:
@@ -74,4 +74,6 @@ if ($options['stop']) {
|
||||
die;
|
||||
}
|
||||
|
||||
\core\local\cli\shutdown::script_supports_graceful_exit();
|
||||
|
||||
cron_run();
|
||||
|
||||
Reference in New Issue
Block a user