Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

job with queue name

// You can disaptch a job with queue name as following
dispatch(new YourJob())->onQueue('my_queue');

// to make it work
php artisan queue:work --queue=my_queue
 
PREVIOUS NEXT
Tagged: #job #queue
ADD COMMENT
Topic
Name
5+1 =