1for queues with no queue name i.e. queue name = default
2 php artisan queue:work
3 or
4 php artisan queue:listen
5
6for jobs with a queue name. Let's assume i have a queue with name = sendemail
7
8 php artisan queue:listen --queue=sendemail
9
10note:
11queue:work will only work for jobs entries currently in jobs table in database and stop.
12queue:listen will go on processing queues continously, both for current and new entries.
13
14