This package gives an overview of when scheduled tasks should run and which ones did not run on time or failed.
— Freek Van der Herten (@freekmurze) July 14, 2020
It works by keeping a record of your scheduled tasks in the database, which you can sync with the provided command:
php artisan schedule-monitor:sync
It’s recommended that you run the sync command on deployments to keep the database in line with defined scheduled tasks.
Image Credit: Laravel Schedule Monitor Readme
After you sync your scheduled tasks, you can list them with the provided list command:
php artisan schedule-monitor:list
This package requires Laravel 7.19+ and PHP 7.4+, so be sure your application has the latest versions of Laravel and PHP.
You can learn more about this package, get full installation instructions, and view the source code on GitHub at spatie/laravel-schedule-monitor. Freek Van der Herten also wrote about this package, so check that out!
Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.
No Spam, ever. We'll never share your email address and you can opt out at any time.
The official Laravel job board connecting the best jobs with top talent.View All Jobs