spatie/laravel-schedule-monitor
Monitor Laravel scheduled tasks by logging starts, finishes, failures, and skips to a database table and viewing run history via an Artisan command. Optionally sync with Oh Dear to get alerts when tasks fail or don’t run on time.
schedule-monitor:sync + CLI checks).--keep-old flag) or custom dashboards (e.g., Laravel Nova integration).schedule-monitor:verify.Adopt if:
Look Elsewhere if:
node-cron + external monitoring)."This package turns ‘hope-based’ scheduled tasks into observable, reliable processes. Imagine knowing instantly if a nightly revenue report fails—or if a critical data sync stalls—without manual checks. By integrating with Oh Dear, we’ll get automated alerts (Slack/email) for missed tasks, reducing downtime risks. It’s a low-lift way to add enterprise-grade reliability to our Laravel backend, with minimal dev overhead."
Key Outcomes:
*"This solves three pain points:
schedule-monitor:list) or DB-backed audit trail of every task execution.Implementation:
composer require spatie/laravel-schedule-monitor, publish migrations, and add schedule-monitor:sync to deployments.Trade-offs:
Next Steps:
.env).Why now? Every missed task is a risk—this turns cron jobs from ‘black boxes’ into managed services."*
How can I help you explore Laravel packages today?