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), - } - } -}