Closed nkpindolia closed 2 years ago
I've noticed this only happens when i trigger a job from the console.
I see no reason why it should not run in the CLI environment.
Do you experience the issue in all environments? (local, prod server etc)
any idea how this was resolved @nkpindolia ?
I'm in the process of developing a plugin that will have a lot of jobs (emails, etc)
I was testing if this plugin helps with the jobs however they just get stuck in the 'pending' state.
The job runs fine when this plugin isn't enabled.
when i click the "run test" button, the test runs fine.
when I run
nice /usr/local/bin/php craft queue/run > /dev/null 2>&1 &
the queue starts to clear.I've set PHP_BINARY to "/usr/local/bin/php"
no errors are showing up in the logs either.
runQueueAutomatically
is trueCraft CMS: 3.7.37 Craft Async Queue: 2.3 Craft Commerce: n/a PHP: 8.0
nb: this is running on nitro