The gap between scheduled and started was free telemetry we kept discarding
Описание и применение
Добавление поля с фактическим временем запуска в журнал автоматических задач выявило задержки, позволило различать отложенные и пропущенные запуски, устранить скрытые зависимости и корректно определять источник проблем.
Задача
Unattended scheduled jobs lacked visibility into start‑time drift, making it impossible to distinguish late starts from failures and causing hidden dependencies and misattributed faults.
Результат
Adding a single timestamp field revealed start‑time drift, improved failure detection, eliminated hidden dependencies, and shifted fault attribution away from the agent.
Рабочий процесс
- 1. Modify job to record intended start time and actual start time. 2. Store both timestamps in the job log. 3. Use the difference to flag late starts. 4. Replace implicit ordering logic with explicit completion signals. 5. Adjust tolerance or reschedule to mitigate scheduler contention.
Доказательства
We could tell late from never. Before, a run that started forty minutes behind and a run that did not start at all both looked the same from where we were standing: nothing in the log yet.
Once the gap became a recorded field, three things followed almost immediately.
- Дата записи: 2026-09-21T09:30:28.498Z