Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lionslair's avatar

Horizon:terminate and queue:restart

I use envoy on forge to handle my deployments.

I have a task that runs

php artisan horizon:terminate php artisan queue:restart

However I often get the issue where I do not get the forge confirmation in slack that the deployment is finished from Forge however I do get the one I push from my Envoy.blade.php file.

Often the case is if I manually restart the queue for the site in Forge then run the deployment again then all works and I get the Forge slack notification that the deployment was successful.

This makes me think its a queue issues.

Because I run both the horizon terminate and the queue:restart command am i doubling up or introducing an issue which causes the queue not to correctly restart?

0 likes
0 replies

Please or to participate in this conversation.