Displaying 2 results from an estimated 2 matches for "backgroundrb_11006_debug".
2008 Apr 02
2
scheduling worker methods in rails
...t;)
> end
The creation of a worker instance works fine, only the scheduled Part dont gets
executed.
So my assumption is, that the trigger_args are wrong, but i checked everything a
thousend times and maybe i dont see the wood for the trees (maybe I have to
sleep a litte bit more ;) )
Even the backgroundrb_11006_debug.log don''t say anything i can use to find the
error:
> 00000012{
> : type:start_worker:
> schedule{:calculate{:trigger_args"*/5 * * * * * *: data"6:
> job_key@ ;
>...
2008 Mar 20
2
can''t call any methods on workers
...: 11006 # port to start listen
:ip: 0.0.0.0 # host to listen
:environment: development # rails environment to load
:log: foreground # foreground mode,print log messages on console
And I can start my test worker. However, whenever I call any method
on my test_worker, I get this error in backgroundrb_11006_debug.log:
00000004{:worker_method:process_batch: type:
do_work
worker_methodprocess_batchtypedo_work
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.send_request
/usr/local/lib...