I'm implementig Laravel queues via database driver, and when I start the process for listening the jobs, another process is also started. So basically I'm doing php artisan queue:listen and the process that is automatically started is php artisan queue:work.
so basically the second process here is generated automatically, also the thing is that it doesnt point to the folder where it should be
The listener:
php artisan queue:listen
starts a long-running process that will "run" (process) new jobs as they are pushed onto the queue. See docs .
The processer:
php artisan queue:work
Will process new jobs as they are pushed onto the queue. See docs .
So basically queue:listen
runs queue:work
as and when new jobs are pushed.
PS : You need not worry about this but its good to know how it works. You can dig into the code if you need more information.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.