librelist archives

« back to archive

jobs not displaying within resque-web

jobs not displaying within resque-web

From:
Karl Baum
Date:
2010-04-16 @ 15:38
I upgraded to resque 1.7.1 and when I go to resque-web, I see no jobs  
running, but when I open irb and I excecute the same code from the  
workers.erb partial, I can see my jobs:

 >> for worker in workers.sort_by { |w| w.job['run_at'] ?  
w.job['run_at'] : '' }
 >> job = worker.job
 >> next if worker.idle?
 >> puts worker.state
 >> end
working
working

Anyone else have this issue?

thx.

-karl

Re: jobs not displaying within resque-web

From:
Karl Baum
Date:
2010-04-16 @ 21:28
Figured this out.  It was because my ruby app was using redis name  
spaces.  Had to give a -N arg to resque-web.


On Apr 16, 2010, at 11:38 AM, Karl Baum wrote:

> I upgraded to resque 1.7.1 and when I go to resque-web, I see no  
> jobs running, but when I open irb and I excecute the same code from  
> the workers.erb partial, I can see my jobs:
>
> >> for worker in workers.sort_by { |w| w.job['run_at'] ?  
> w.job['run_at'] : '' }
> >> job = worker.job
> >> next if worker.idle?
> >> puts worker.state
> >> end
> working
> working
>
> Anyone else have this issue?
>
> thx.
>
> -karl