Merge branch 'main' of https://git.hofer.link/philipp/oe1-player
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m37s
CI/CD Pipeline / deploy (push) Successful in 2m7s

This commit is contained in:
Philipp Hofer
2025-10-15 15:06:58 +02:00

View File

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