Advanced scheduling options

In a file connection point, a schedule can be defined for reading data.

The user can specify minutes, hours, days or weeks. You can specify more details in an advanced schedule using a CRON expression. For example, to run an expression on 8 pm every day, or to run every week on Monday, Wednesday and Friday at 5 am. The Quartz CRON scheduler is used, where the expression is of this format:

The Quartz CRON scheduler is used, where the expression is of this format:

[Seconds] [Minutes] [Hours] [Day of the Month] [Month] [Day of the week] [Year]

For example, for triggering:

  • The scheduler at 9:30 AM every day, you can use the expression: 0 30 9 ? * *
  • The scheduler every 5 minutes, you can use the expression: 0 0/5 * * * ?.

To learn more about the cron fields and sample expressions, see the documentation of quartz scheduler at: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger

Note that support for specifying both a day-of-week and a day-of-month value is not provided. If you must specify both, use the '?' character in one of the fields.

Timezone
All specified time in the cron expression is treated as UTC time by default. You can also specify the time zone in which the scheduled triggers must occur.