Kannan Ramaswamy
Kannan Ramaswamy

Reputation: 1

In laravel job using database as queue connection. But queue:work command not triggering queues?

In Laravel job given queue connection as QUEUE_CONNECTION=database. when using QUEUE_CONNECTION=sync php artisan queue:work is running but when using QUEUE_CONNECTION=database queue is not triggering. php artisan queue:listen also not triggering the job.

Upvotes: 0

Views: 3147

Answers (2)

Vlad Vladimir Hercules
Vlad Vladimir Hercules

Reputation: 1869

Please run

php artisan queue:work --queue orders

Upvotes: 0

Syazany
Syazany

Reputation: 220

You need to run

php artisan queue:restart 

in one tab and another tab that is running

php artisan queue:work

Upvotes: 1

Related Questions