I recently setup a Laravel Queue system. The basics are a cronjob calls a command which adds jobs to a queue and calls a second command which sends an email.
The sy
I simply used php artisan queue:work --tries=3 & which keeps the process running in the background.
But it sometimes stops.
I don't know why this is happening
I solved this issue by using supervisor. Put a supervisor script that runs this php script, and that will run every time the server runs