Definitions from the documentation:
queue/run
: runs all the queued-up jobsqueue/listen
: listens to the queue and runs new jobs
Example case:
The runQueueAutomatically
config option is set to false, and a cron job is calling queue/run
every minute: /1 * * * * /path/to/project/root/craft queue/run
.
In this case:
- Should I run
queue/listen
instead ofqueue/run
? - Does calling a new
queue/run
when aqueue/run
job is potentially still in process, could caused queue issues?