Task scheduler - Schedule

Tools module Task scheduler / Select an existing task Task scheduler menu / Edit schedule



Define the how often the task should be automatically executed.

Rules for automatic execution

Any number of rules with differing schedules can be created here. Created rules can be selected and activated individually meaning the task is executed with the corresponding schedule. Create a rule, modify the settings (such as the time) in the dialog as needed and save the rule either by switching to another rule or by closing the dialog with "OK".

Add rule
Adds a new rule.

Delete rule
Deletes the rule currently selected.

Time frame

From

Defines the start of the period. The task will be executed for the first time at the beginning of the next hour after the value entered in the "From" field.

To

Defines the end of the period.

Time zone

Defines the time zone.

Time

At

With this option, a specific time can be entered when the task should be executed.

Repeat




With the settings "At the hour(s) / minute(s) / second(s)" you can enter an integer for a single hour (or minute/second), a list (separated by a comma) or a period (e.g. 8-10).



By clicking on the arrow button to the right of these settings, you can select the option "Every". This allows you to define an interval in hours, minutes and seconds relative to the last execution.

Date


During the month(s)

Here, you can enter an integer for a single month, a list (separated by a comma) or a period (e.g. 8-10) to determine in which month(s) the task should be executed. Click on "All" if you want to execute the task throughout the year.

On specific days of the month

Corresponds to the setting "During the month(s)" but for the days. Click on the arrow button to the right of this setting to select other options from the submenu.

Repeat every




Enter the desired number of days between executions.

On specifc days of the week




Define the desired days of the week.

Days before the end of the month




Enter the desired number of days before the end of the month.

Scheduler rule




The scheduler rule can be entered manually here. Information about the construction of these rules can be found here. A detailed description of CronTrigger expressions can be found here (CronTrigger class).