Is this on Linux? In that case you could use supervisor to make sure your worker is running at all times.
mengidd said:
Is this on Linux? In that case you could use supervisor to make sure your worker is running at all times.
Hi,
This is Linux, could you elaborate?
Supervisor is a service you can install that will make sure certain processes are running at all times. If one of the watched processes crashes, supervisor will start it up again.
If you Google "laravel queue supervisor" you should find some related stuff. I would write a more descriptive answer but I'm on my phone atm.
Take at a look at this article, you can start reading at the "Supervisord" part. http://fideloper.com/ubuntu-beanstalkd-and-laravel4
You can read the whole article aswell if you want to see how this guy handle his queues (together with beanstalkd and supervisor).
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community