Restarting Laravel's queue workers should be an essential part of your deployment script. If that's the case, the worker process will exit and your process manager may start a new one.

They all need to be able to see the value of the illuminate:queue:restart cache key when it's set by the restart command.

Now if your worker processes are run by the forge user, they will have access to the cache files even if the restart command was executed by a different system user. If you change the cache prefix, the restart command will set a cache key with the new prefix.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners