I use the queue in my Laravel 5.4 project to send emails in background.
I have created the table for jobs, created the class for the job, and put QUEUE_DRIVER=database
in my .env file. When I dispatch my Job, I can see my task in the jobs
table. So far so good.
However, when I then execute the command
php artisan queue:work
on the webserver - it's freezing and not have any results.
What could be the problem?