Just run php artisan horizon:terminate
But dont run queue at the same time. Horizon is a replacement for the regular queue!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi I am getting some errors in horizon and it seems its trying to process old code, how exactly is the best way to reset horizon on delpoy script or is there something else i need to do? Thanks
( flock -w 10 9 || exit 1
echo 'Reloading PHP FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock
php artisan optimize:clear # This clears ALL caches including config, route, view, and application
php artisan config:cache
php artisan route:cache
php artisan view:cache
npm i && npm run build
$FORGE_PHP artisan horizon:terminate
$FORGE_PHP artisan queue:restart
Please or to participate in this conversation.