Displaying 1 result from an estimated 1 matches for "account_work".
Did you mean:
accounts_work
2008 Apr 02
2
scheduling worker methods in rails
...is still running.
Between two calls both worker are stopped (or sleeping), the creation and the
different tasks are shorter than the interval (if that matters)
At another point i''m trying to schedule a Task via a MiddelMan.new_worker within
rails:
> MiddleMan.new_worker(:worker => :account_worker, :job_key => id, :data => id,\
:schedule => { :calculate => { :trigger_args => "*/5 * * * * * *", :data => id \ }})
With this call, the method don''t even get executed (tested with logger.info as
first line to see if a message gets written in the log-file).
&...