diff --git a/cli/src/Service/Schedule.php b/cli/src/Service/Schedule.php index a902856..efd7ff2 100644 --- a/cli/src/Service/Schedule.php +++ b/cli/src/Service/Schedule.php @@ -19,7 +19,7 @@ class Schedule $commands = []; foreach ($schedule as $line) { $line = trim($line); - if ($line === '') { + if (trim($line) === '' or str_starts_with('#', $line)) { continue; } $data = $this->parseCommandLine($line);