Reputation: 3692
I'm looking information about run X next jobs on queue of Laravel.
On my app, only can run 10 on some queue (name_of_any_queue) per minute.
On doc only see this:
php artisan queue:work --queue=name_of_any_queue --once Only process the next job on the queue
But this only run next job.
I've a task for running every minute command above.
It's possible? How can I do?
Upvotes: 0
Views: 266
Reputation: 50787
Two problems:
Solution:
Use a loop and process --once
8 times within the loop.
Upvotes: 2