Overview
Cachet uses a queue to send mail and beacons without slowing down the rest of the application.Supervisor
We recommend Supervisor to manage the queue worker. Supervisor monitors and controls long-running programs through a consistent interface.Cachet v2.4
/etc/supervisor.d/conf/cachet.conf
Cachet v2.3
Create a Supervisor configuration file named/etc/supervisor.d/conf/cachet.conf:
/etc/supervisor.d/conf/cachet.conf
Queues using the scheduler
The default installation sets the queue type todatabase. Cachet stores jobs in your database, and a cron job calls an Artisan command to process them.
Create a cron job. On Ubuntu, run crontab -e and add this line:
/etc/crontab
Synchronous queue
If you cannot add a cron job, you can process jobs immediately after they are created. Set the following value in your.env file:
.env