chore: Handle invalid cron strings in Kernel.php

This commit is contained in:
Andras Bacsai 2024-05-14 15:18:59 +02:00
parent b70a78b7aa
commit f06065337c

View File

@ -144,7 +144,7 @@ private function check_scheduled_tasks($schedule)
} }
} }
if ($service) { if ($service) {
if (str($service->status)->contains('running') === false) { if (str($service->status())->contains('running') === false) {
continue; continue;
} }
} }