Instance methods
DynamicSchedule: register() instance method
Use this method to register a new schedule with the DynamicSchedule.
Parameters
The id of the schedule to register. The identifier you use will be available in the
context.source.id
when the Job runs.
The schedule to register. It is either a cron
or interval
schedule.
Returns
The id of the schedule that was registered.
The schedule that was registered, one of “cron” or “interval”.
Metadata about the schedule.
Whether the schedule is active or not.
Was this page helpful?