From c21de2848d7eb42f00b5218230c00f1a5db5913c Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Fri, 27 Jun 2025 16:51:16 -0400 Subject: [PATCH] FIX: saltarse lineas comentadas --- cli/src/Service/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);