I am trying to perform a job queue to execute mail and sms functioning in background process. And it is working with
QUEUE_DRIVER=sync
in .env
file
But when i use it with database
QUEUE_DRIVER=database
its not working even after using cli command:
php artisan queue:listen
Please tell me what is the problem with such functionality
laravel.log:
here is how i would debug it:
also check to see if the reserved field in the jobs table is filled, and the attempts are more than 1.
if the attempts are 0 that means you have a problem with your supervisor service (if you are using it) try unlink /path/to/socket.sock and then run the supervisord command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With