Displaying 1 result from an estimated 1 matches for "some_key_1".
Did you mean:
  some_key_2
  
2007 Dec 08
3
Multiple Worker Methods on Different Schedules
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 w...