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!Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
How to make a Laravel app multi-tenant in minutes
In this tutorial, learn how to make your Laravel app multi-tenant using the Tenancy for Laravel package
Web Authentication for Laravel
WebAuthn for Laravel is a package for authenticating users without passwords using their device, fingerprint, or othe…