Add check for enabled tasks in scheduled tasks loop
This commit is contained in:
parent
b21cb5c0e9
commit
bd25860ccf
@ -121,6 +121,9 @@ private function check_scheduled_tasks($schedule)
|
||||
return;
|
||||
}
|
||||
foreach ($scheduled_tasks as $scheduled_task) {
|
||||
if ($scheduled_task->enabled === false) {
|
||||
continue;
|
||||
}
|
||||
$service = $scheduled_task->service;
|
||||
$application = $scheduled_task->application;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user