Update workflow and remove test cron file

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-02-04 21:25:39 -03:00
parent 8d3f9339ee
commit 64d5e2a1bd
2 changed files with 2 additions and 19 deletions

View file

@ -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
lxc exec bot:pragmatismo-system -- systemctl start ui || true

View file

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