Skip to content

Fortified IDDocs

Scheduler

Schedule platform jobs with Quartz cron expressions.

The Scheduler module creates scheduled jobs. Its module alias is Scheduler.

NameDescriptionDefaultMandatory
jobsList of job definitions.[]
NameDescriptionDefaultMandatory
idUnique job identifier.
typeRegistered action type. The built-in default is NoOp."NoOp"
scheduleQuartz cron expression or one of the schedule constants. An empty value creates the job without a recurring trigger.
paramsJSON object passed to the action.{}
run_on_startTrigger a one-off execution when the module starts.false
run_on_start_delay_secsDelay before the startup execution.30

Schedules use six or seven Quartz cron fields: seconds, minutes, hours, day of month, month, day of week and optional year. Use ? for the day-of-month or day-of-week field that is not specified.

Constant Value
EVERYDAY_AT_MIDNIGHT "0 0 0 ? * * *"
EVERY_HOUR "0 0 * ? * * *"
EVERY_30_MINUTES "0 */30 * ? * * *"
EVERY_5_MINUTES "0 */5 * ? * * *"

The built-in job types are Pipes, Http and Exec. See the examples for additional cron expressions.

In this section