Explorar el Código

Merge pull request #1752 from jackh726/fix_types_cron

Fix types planning cron job, only Mondays instead of every day
Mark Rousskov hace 1 año
padre
commit
e9b487d6ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/jobs.rs

+ 1 - 1
src/jobs.rs

@@ -94,7 +94,7 @@ pub fn default_jobs() -> Vec<JobSchedule> {
             name: TypesPlanningMeetingThreadOpenJob.name(),
             // We want last Monday of every month, but cron unfortunately doesn't support that
             // Instead, every Monday and we can check
-            schedule: Schedule::from_str("0 0 12 ? * * *").unwrap(),
+            schedule: Schedule::from_str("0 0 0 ? * MON *").unwrap(),
             metadata: serde_json::Value::Null,
         },
     ]