3 ms·
Except downtime can start during execution. So for many types of jobs... - Check if run today, exiting on "yes" - Run - Update the last-run-on date
by bell-cot 1y ago
Except downtime can start during execution. So for many types of jobs...
- Check if run today, exiting on "yes"
- Run
- Update the last-run-on date
- latchkey 1y agoWhat is "today"?
- bell-cot 1y agoHopefully just a datetime recent enough that the job does not currently need to be (re-)run. But as soon as one job needs another to complete first, or two jobs shouldn't be run at the same time - things start getting messy.
- lxgr 1y ago> Hopefully just a datetime recent enough that the job does not currently need to be (re-)run. I can think of several ways to mess that seemingly trivial calculation up just from the top of my head. (Consider changing timezones, increasing the interval the job is running to within half a day of scheduling period etc.)