Skip to content

Commit

Permalink
Merge pull request #423 from stakwork/fix/setup-cron-time-to-2am
Browse files Browse the repository at this point in the history
fix: ensure auto restart, starts at 2am UTC
  • Loading branch information
Evanfeenstra authored Dec 3, 2024
2 parents b06c954 + f937c6f commit 9c699df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto_restart_cron.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub async fn auto_restart_cron(

let cron_time = match getenv("AUTO_RESTART_CRON_TIME") {
Ok(env) => env,
Err(_) => "@daily".to_string(),
Err(_) => "0 0 2 * * *".to_string(),
};

sched
Expand Down

0 comments on commit 9c699df

Please sign in to comment.