Commit 7b942ffd authored by Felix Imobersteg's avatar Felix Imobersteg

fix(scheduler): do not throw exception in scheduler

parent c1028bd6
......@@ -87,9 +87,13 @@ class SchedulerCommand extends Command
ini_set('memory_limit', $maxMemory);
// Check cron jobs every 15s
while (true) {
$this->executionManager->check();
sleep(15);
try {
while (true) {
$this->executionManager->check();
sleep(15);
}
} catch (\Exception $ex) {
$this->logger->warning($ex->getMessage());
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment