Delivery time warning
Most alerts say “it broke”. This one says “it will break”. Give a job a time it has to be finished by, and CronBeat warns you while the job still runs, as soon as it is expected to end later.
When to use it
Section titled “When to use it”A report that must be in your inbox at 07:00, an ETL that has to finish before the office opens, an invoice run that must be done before the bank cut-off. If the job normally takes 50 minutes and starts at 06:20, you want to know at 06:20 that it will end at 07:10, not at 07:00 that it is not done.
How to set it
Section titled “How to set it”Open a monitor and use the Delivery time card (members and above): a time of day like 07:00 in the time zone of the
monitor. It works for ping monitors and for monitors created by the Kubernetes agent, not for HTTP checks.
How the forecast works
Section titled “How the forecast works”CronBeat compares the run in progress with the recent history of the same monitor:
- It needs at least 5 finished successful runs with a known duration. With fewer it says nothing.
- While the run has not yet taken its typical time (the median of the last 20 successful runs), it expects the run to end at start + typical.
- When the run is already longer than typical, it judges by the slow end (the 90th percentile): the run is expected to end at start + slow end, and it only warns if that is after the delivery time.
- Once the run took longer than the slow end, or the delivery time has passed, there is nothing left to forecast. The usual alerts (missed, failed or too long) take over.
The delivery time is the first moment, at or after the start of the run, when the clock in the time zone of the monitor shows that time. A job that starts at 23:30 with a delivery time of 01:00 is due at 01:00 the next night. Daylight saving time is handled.
What you get
Section titled “What you get”One message per run, to the channels of the monitor, titled May miss its deadline:
It usually takes 50m. Expected to end at 07:10, 10m after the delivery time 07:00 (Europe/Istanbul).
No incident is opened and no reminders follow. There is no warning while the monitor is paused, in a
maintenance window, or has alerts suppressed. PagerDuty does not receive it, like
slow run alerts. Webhooks get the event monitor.deadline_risk.
With the API
Section titled “With the API”curl -sS -X PUT https://api.cronbeat.dev/api/monitors/MONITOR_ID/deliver-by \ -H "Authorization: Bearer cb_pat_YOUR_TOKEN" -H "Content-Type: application/json" \ -d '{"time": "07:00"}'See REST API.

