From 64d5e2a1bd79cf34df02ec6f61d4dfdd5e1a3fe9 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Wed, 4 Feb 2026 21:25:39 -0300 Subject: [PATCH] Update workflow and remove test cron file --- .forgejo/workflows/botserver.yaml | 3 ++- examples/test_cron.rs | 18 ------------------ 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 examples/test_cron.rs diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index d7d4f2ab1..8f5eaf4ba 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -104,4 +104,5 @@ jobs: sudo chmod +x /opt/gbo/bin/system/botui lxc exec bot:pragmatismo-system -- systemctl start system || true - lxc exec bot:pragmatismo-system -- systemctl start ui || true \ No newline at end of file + lxc exec bot:pragmatismo-system -- systemctl start ui || true + \ No newline at end of file diff --git a/examples/test_cron.rs b/examples/test_cron.rs deleted file mode 100644 index 0bb057284..000000000 --- a/examples/test_cron.rs +++ /dev/null @@ -1,18 +0,0 @@ -use cron::Schedule; -use std::str::FromStr; - -fn main() { - let schedules = vec![ - "59 * * * *", - "0 * * * *", - "0 11 * * *", - ]; - - for schedule_str in schedules { - println!("\nTesting: {}", schedule_str); - match Schedule::from_str(schedule_str) { - Ok(_) => println!(" ✓ OK"), - Err(e) => println!(" ✗ Error: {}", e), - } - } -}