Ticket #69 (new enhancement)

Opened 1 year ago

[PATCH] Flexible Scheduling by Job Key

Reported by: andy.ty..@gmail.com Assigned to: gethema..@gmail.com
Priority: minor Milestone: 1.0 Release
Component: scheduling Version:
Keywords: scheduler,yml,flexible,job,key Cc:

Description

I have only lightly tested this, but patching these two files using the attached patch should enable the scheduler to be even more flexible. It uses a YML format like:

:schedules:

:foo_worker:

:foo_job_key:

:foo_method:

:data: foo_data :trigger_args: * * * * * * *

:bar_job_key:

:foo_method:

:data: bar_data :trigger_args: */10 * * * * * *

:bar_method:

:data: foobar_data :trigger_args: */20 * * * * * *

Files:

framework/packet_master.b

server/meta_worker.rb

Attachments

meta_worker.patch (1.1 kB) - added by andy.ty..@gmail.com on 12/12/07 12:27:55.
packet_master.patch (1.2 kB) - added by andy.ty..@gmail.com on 12/12/07 12:28:26.

Change History

12/12/07 12:27:55 changed by andy.ty..@gmail.com

  • attachment meta_worker.patch added.

12/12/07 12:28:26 changed by andy.ty..@gmail.com

  • attachment packet_master.patch added.