fix cronjob schedule
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m17s
CI/CD Pipeline / deploy (push) Successful in 2m28s

This commit is contained in:
2025-10-13 15:56:02 +02:00
parent 518c282b50
commit 1de7535622

View File

@@ -18,7 +18,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let scheduler = JobScheduler::new().await.unwrap(); let scheduler = JobScheduler::new().await.unwrap();
scheduler scheduler
.add( .add(
Job::new_async("0 */3 * * *", move |_uuid, _locked| { Job::new_async("0 0 */3 * * *", move |_uuid, _locked| {
let state_for_task = state.clone(); let state_for_task = state.clone();
Box::pin(async move { Box::pin(async move {
state_for_task.update().await; state_for_task.update().await;