Plan a cron job monitor
plan_cron_monitorUse this when the user wants to know if a scheduled job, backup, queue worker or other background task stops running, runs late or fails. Returns the schedule understood (with the next five runs in the user's time zone), its cost in monitors against the room the plan has left, and the decisions to put to the user: when the job runs, if the schedule given could not be read; then how late is too late (with a recommended grace period), the longest normal run and how serious a miss is. Cron expressions are read in UTC: there is no time zone setting. Saves the plan and changes nothing in the account. Not for checking a website or API endpoint: use plan_site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | What the job is, as the user put it, such as nightly backup. | |
| site | No | The site the job belongs to, by id, name or part of its URL. | |
| answers | No | The user's answers, by decision id: schedule, interval, grace, max_run, severity. | |
| plan_id | No | An earlier plan_cron_monitor plan, to change it or answer its decisions. | |
| schedule | No | When it runs: a cron expression (read in UTC), every N minutes, hours or days, or heartbeat for a process that checks in. | |
| accept_recommended | No | True when the user asked FlareWarden to choose. |