The health monitoring system provides real-time insights into your application's performance, including database status, cache operations, queue health, storage usage, and email tracking. This guide will help you set up and maintain the monitoring system.
composer require laravel/pulse
php artisan vendor:publish --tag=pulse-config
php artisan migrate
To ensure continuous monitoring and background job processing, you need to set up a cron job on your server.
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
Replace /path-to-your-project with your actual project path
The queue worker is configured to run via the Laravel scheduler. This handles background tasks like:
// In app/Console/Kernel.php
$schedule->command('queue:work --stop-when-empty')
->everyMinute()
->withoutOverlapping();
This configuration ensures that:
If you encounter any issues or need assistance with the health monitoring system, please contact your system administrator or refer to the Laravel Pulse documentation.