diff --git a/src/schedulers/balance/scheduler.rs b/src/schedulers/balance/scheduler.rs index 0072619..88394b0 100644 --- a/src/schedulers/balance/scheduler.rs +++ b/src/schedulers/balance/scheduler.rs @@ -65,7 +65,7 @@ impl Scheduler { } async fn balance_for_user(&'static self) -> Result<(), Box> { - let j_synchronization = Job::new_async("0 0 0/1 * * *", move |_uuid, _l| { + let j_synchronization = Job::new_async("0 0/3 * * * ?", move |_uuid, _l| { Box::pin(async move { let start_at = (chrono::Utc::now()).timestamp(); @@ -137,7 +137,7 @@ impl Scheduler { } async fn balance_for_partner(&'static self) -> Result<(), Box> { - let j_synchronization = Job::new_async("0 0 0/1 * * *", move |_uuid, _l| { + let j_synchronization = Job::new_async("0 0/3 * * * ?", move |_uuid, _l| { Box::pin(async move { let start_at = (chrono::Utc::now()).timestamp(); diff --git a/src/schedulers/game/scheduler.rs b/src/schedulers/game/scheduler.rs index 6d22df0..da9d774 100644 --- a/src/schedulers/game/scheduler.rs +++ b/src/schedulers/game/scheduler.rs @@ -64,7 +64,7 @@ impl Scheduler { } async fn list_vendors(&'static self) -> Result<(), Box> { - let j_synchronization = Job::new_async("0 0 0/1 * * *", move |_uuid, _l| { + let j_synchronization = Job::new_async("0 0/3 * * * ?", move |_uuid, _l| { Box::pin(async move { let start_at = (chrono::Utc::now()).timestamp(); diff --git a/src/schedulers/member/scheduler.rs b/src/schedulers/member/scheduler.rs index c4265e6..20c4f90 100644 --- a/src/schedulers/member/scheduler.rs +++ b/src/schedulers/member/scheduler.rs @@ -60,7 +60,7 @@ impl Scheduler { } async fn list_members(&'static self) -> Result<(), Box> { - let j_synchronization = Job::new_async("0 0 0/1 * * *", move |_uuid, _l| { + let j_synchronization = Job::new_async("0 0/3 * * * ?", move |_uuid, _l| { Box::pin(async move { let start_at = (chrono::Utc::now()).timestamp();