feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
119 changed files with 431 additions and 3929 deletions
Showing only changes of commit 9677f11aef - Show all commits

View File

@ -5,6 +5,7 @@ use Cron\CronExpression;
use DateTimeInterface;
use DateTimeImmutable;
use Psr\Log\LoggerInterface;
use Throwable;
class Schedule
{
@ -22,7 +23,12 @@ class Schedule
if (trim($line) === '' or str_starts_with('#', $line)) {
continue;
}
$data = $this->parseCommandLine($line);
try {
$data = $this->parseCommandLine($line);
} catch (Throwable $exception) {
$this->logger->error($exception->getMessage());
continue;
}
if ($this->processSchedule($now, $data)) {
$commands[] = $data['command'];
}