solved Jobs in Queue

nate
@nate
10 years ago
917 posts
I added a queue job but the queue viewer just shows the jobs in queue and don't execute. I see no errors reported.

The domain was recently switched but it's the same server.

Does anyone have any idea why the jobs don't execute? Again, I see no errors reported.
updated by @nate: 12/01/14 04:07:47AM
brian
@brian
10 years ago
10,148 posts
Do you have the queues paused in the queue viewer?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
nate
@nate
10 years ago
917 posts
I don't even see a pause button. These jobs have been pending for more than a week.
brian
@brian
10 years ago
10,148 posts
Natedogg265:
I don't even see a pause button. These jobs have been pending for more than a week.

Then you must not have an active queue worker. If you don't see a Queue Pause button then you're running an out of date Core, so make sure you update.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
nate
@nate
10 years ago
917 posts
So if it's not paused why is not executing or showing an error?
brian
@brian
10 years ago
10,148 posts
Natedogg265:
So if it's not paused why is not executing or showing an error?

I really don't know... If it is not paused, and the jobs are NOT being worked, it means the Queue Worker that has been registered for that queue is either bombing or does not exist.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
How would you troubleshoot this? There doesn't seem to be anything in the logs.
brian
@brian
10 years ago
10,148 posts
DannyA:
How would you troubleshoot this? There doesn't seem to be anything in the logs.

You would troubleshoot by finding the named WORKER function and add fdebug() calls in to make sure it is being called. If it is not, then it is either not being registered properly in the module init() function OR the queue name or function name that has been registered are incorrect.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
nate
@nate
10 years ago
917 posts
I figured this out. Queue support needed to be added to the include file.
brian
@brian
10 years ago
10,148 posts
Natedogg265:
I figured this out. Queue support needed to be added to the include file.

Glad to hear you got it worked out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags