Keep an eye on your Laravel scheduled tasks and never miss a failure.
Laravel Scheduler is powerful: a single crontab entry, and all your tasks are elegantly managed in code. But this centralization creates a single point of failure. If the system cron or queue worker crashes, all your tasks stop.
MoniTao integrates seamlessly with Laravel. Use the native pingBefore/pingAfter hook or add a manual ping in your commands for granular monitoring.
seo.cron_laravel.solution_intro
seo.cron_laravel.solution_example
The native method (pingOnSuccess) is simpler. The manual method allows pinging at specific moments in the process or including contextual data.
Yes, Laravel pings the URL even if the task is dispatched to a queue. But beware: the ping confirms the dispatch, not necessarily the job execution.
Create a heartbeat with a 1-minute period, and add a ping in a job that runs everyMinute(). If the system scheduler crashes, the ping stops.
Laravel 8+ supports pingOnFailure(). MoniTao can receive this ping on a different endpoint to track explicit failures in addition to absences.
Start free, no credit card required.