Answers for "start laravel queue"


how to automatically run queue in laravel

for queues with no queue name i.e. queue name = default
	php artisan queue:work 
	php artisan queue:listen
for jobs with a queue name. Let's assume i have a queue with name = sendemail

	php artisan queue:listen --queue=sendemail   
queue:work will only work for jobs entries currently in jobs table in database and stop.
queue:listen  will go on processing queues continously, both for current and new entries.
Posted by: Guest on October-02-2020

start laravel queue

php artisan queue:work --queue=high,default
Posted by: Guest on February-04-2021

Browse Popular Code Answers by Language