Manage Laravel queue workers.
php artisan horizon
Artisan command from your site’s root directory.
Next, add the php artisan horizon:terminate
Artisan command to your site’s deployment script, as described in Horizon’s deployment documentation.
Finally, if you wish to use Horizon’s metrics graphs, you should configure the scheduled job for horizon:snapshot
in your application code. In addition, you should define a Scheduler task within Forge for the php artisan schedule:run
Artisan command if you have not already done so.
queue:restart
command requires a cache driver that persists data between requests. If your application’s cache driver is set to array
, the command will fail silently because the array
driver stores data in memory that is lost between requests.site:manage-queues
permission.