Running Queue with continuously running PHP script
I'm dealing with a managed server, that doesn't have supervisor. And I have to run Queue.
However this hosting is offering continuously running PHP script. I was suggested to use exec in that file. How would I go about that? Just creating file with:
If nothing else is possible, then I suppose that is the only way. Just remember to ask them how to restart it
Remember, queue workers, are long-lived processes and store the booted application state in memory. As a result, they will not notice changes in your code base after they have been started
@andyandy A queue worker is a long-running process. PHP scripts can easily be killed.
If you need to run a queue and your host doesn’t allow you to run arbitrary processes and a monitoring service like Supervisor, then find one that does.