Skip to main content

Parameters

string
required
The id of the schedule to register. The identifier you use will be available in the context.source.id when the Job runs.
Schedule
required
The schedule to register. It is either a cron or interval schedule.

Returns

string
The id of the schedule that was registered.
Schedule
The schedule that was registered, one of “cron” or “interval”.
any
required
Metadata about the schedule.
boolean
required
Whether the schedule is active or not.