sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Update task schedules for the two jobs to avoid conflicts #119

Closed jeanconn closed 6 years ago

jeanconn commented 6 years ago

This removes check_cron from the more frequent job with the hope that only the check_cront called in the "daily" events job will call watch_cron_logs and move and check the logs. You do run into the issue that the cmds logs will also only be checked once a day (though a fatal error should still go to aca).

These edits also give each task a unique heartbeat file name to avoid collision.