[Backgroundrb-devel] Multiple Worker Methods on Different Schedules
Andy Tyra
andy.tyra at gmail.com
Sat Dec 8 18:13:17 EST 2007
Quick question: If I want to schedule different worker methods defined in
the same worker to trigger at different times, is this possible? Would the
following scheduler yaml work?
:schedules:
:foo_worker:
:worker_method: method1
:trigger_args: 0 */10 * * * * *
:job_key: some_key_1
:foo_worker:
:worker_method: method2
:trigger_args: 0 */15 * * * * *
:job_key: some_key_2
Would this work? Is there some other way to do it? Would the second method
need to be pulled into a separate worker?
Thanks,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20071208/369de149/attachment.html
More information about the Backgroundrb-devel
mailing list