Since Spring Release 2018 it is possible to schedule processing with better precision.
Rules managerIn the Rules manager the scheduling is set per group. If the group is set to "Only scheduled" or "Normal and scheduled", the group is scheduled and is activated by a time expression. For processing only per schedule, the "Only scheduled" should be set, which will disable event based triggering for the group.
Time expressionThe built-in expressions are yearly, monthly, weekly, daily and hourly. In addition to these there is also "Custom", which enables a greater precision. Selecting "Custom" will enable the row showing the expression in cron, which can be adapted to better suit the business requirements.
CronIS Tools' scheduling expressions use a variant of cron, where the first parameter (minute) is removed. The precision possible to set at the hour. There are several online services for creating expressions, such as http://www.cronmaker.com/. The expression in IS Tools contains of four positions - hour, day of month, month and day of week. Each position can either be set by one or more valid options. The special option
*is used instead of specifying all options. The special option
?is used for not specifying an option.
┌───────────── hour (0 - 23) │ ┌───────────── day of month (1 - 31) │ │ ┌───────────── month (1 - 12) │ │ │ ┌───────────── day of week (0 - 6) │ │ │ │ │ │ │ │ │ │ │ │ * * * *
ExempelEach hour is given with the following expression:
* * * ?Every monday at lunchtime is expressed as:
12 * * MONWeekdays at 08, 12 and 18 is expressed as:
8,12,18 ? * MON-FRIThe 15:th each month by midnight is expressed as:
0 15 * ?