Ops Cockpit — Cron Health Monitor
Record every scheduled-action run, surface failures and overruns, and get alerted — so silent ir.cron failures never bite you again.
Every run logged Survives rollback Stale & overrun watchdog Health dashboard
Free & open-source · License LGPL-3
The problem
When an Odoo cron raises, its transaction rolls back and the failure vanishes — no record, no notification — until something downstream breaks days later. Cron Health Monitor captures every run, especially the ones that fail, and tells you before it becomes a fire.
What you get
Built for production cron fleets that must never fail silently.
▸ Every run, logged
Start, end, duration, outcome, the full traceback, and whether it ran on schedule or was triggered manually.
▸ Survives the rollback
Failed runs are written on a separate cursor that commits independently, so the runs you most want to see do not disappear with the job transaction.
▸ Stale & overrun watchdog
Runs stuck running past a threshold are flagged stale — catching worker crashes and overlaps — and long-runners are flagged overrunning.
▸ Health at a glance
Each scheduled action rolls up to good, warning or critical from its recent runs, right in the cron list and on the form.
▸ Real dashboards
A colour-coded health list, a searchable run log, and a stacked graph plus pivot of runs and failures over time.
▸ Alerts & retention
Throttled alerts on failure, overrun and recovery via the Ops Cockpit engine; auto-vacuum keeps the log table lean.
See it in action
Cron Health dashboard — every scheduled action colour-coded good / warning / critical, with last outcome and durations.
The run log — every execution with duration, outcome and trigger, colour-coded by result.
A health smart-button and roll-up injected directly into the standard Scheduled Action form.
Runs over time, stacked by outcome — spot a failure spike at a glance.
How it works
1 The module wraps cron execution and times every single run.
2 Outcome and traceback are written to the log on a commit-safe cursor.
3 A watchdog flags stale and overrunning runs and raises throttled alerts.
4 Health rolls up per cron and feeds the list, form and dashboards.
Tech & compatibility
✓ Odoo 19
✓ Community & Enterprise
✓ Depends on: base, mail, do_ops_alert_base (free)
✓ Admin-only
✓ Never modifies Odoo core (additive only)
✓ License: LGPL-3 (free & open-source)
Part of the Ops Cockpit suite
Modular monitoring that shares one throttled alert engine.
Alert Base
do_ops_alert_base
The free, shared, throttled alert engine that powers the suite (required dependency).
Cron Health Monitor THIS MODULE
do_cron_health
Record, score and alert on every scheduled-action run.
Error / Traceback Inbox
do_error_inbox
Capture and triage production tracebacks inside Odoo.
Do Incredible
★★★★★
http://doincredible.com · info@doincredible.com
Odoo 19 · Community & Enterprise · five-star support