4 ms·
The jobs need to run at midnight, local time. Which shifts from UTC. How to handle?
by edoceo 4mo ago
The jobs need to run at midnight, local time. Which shifts from UTC. How to handle?
- ssl-3 4mo agoUse UTC, and stop faffing about with changing localtime twice every year so the offset is a constant?
- defrost 4mo agoWhy does it need to run at that time? * If it's being run to scrap data from a source that's available at some time, adjust the job if the source changes its time. * If it's being run "when its dark and no one is around" then it'll run at some part of the dark bit regardless of DST changes.
- Retric 4mo agoSometimes you minimize downtime by running something while some other system you don’t control is down.
- edoceo 4mo agoBilling and regulatory compliance
- defrost 4mo agoIn that specific case, handle the job time by making it compliant. The reason I posed a leading rhetorical question was that not all cron jobs are equal and how each is handled depends on the nature of each.