Ana içeriğe geç
Version: 1.6.0

Schedule Tasks Configuration

The scheduler is a powerful tool which allows to create any kind of schedule in a simple way.

For this purpose, and with the simplicity in mind, the schedule creation has been designed to have three main options:

Repetitive schedules

Schedules that are launched every X time. We can choose the time between launches.

The repetitive schedule, as its name suggests, allows to create schedules to be launched every X time, where X is the time between one launches.

Depending on the time unit, other options will be available to help users to create advanced schedules.

But first, the next fields are common for all the possible options:

OptionDefinitionUseDisables
CalendarA holiday calendar to use for the current task, the task won't be launched in the dates contained by the calendarOptionalExecution date
From ^1The start date / time for the current task scheduleOptionalNone
To ^2The end date / time for the current task scheduleOptionalNone
Repeat eachThe time between executionsRequiredNone

º


^1: If the From criterion is empty, the task will be launched first at the moment it's created.

^2: If the To criterion is empty, the task will be launched indefinitely until its configuration changes, or the task is removed.

Seconds

OptionDefinitionUseDisables
MonthsTo specify which months we want to launch the taskOptionalNone
DaysTo specify which days of the month we want to launch the taskOptionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalDays
HoursThe hour the task will be launchedOptionalNone
MinutesThe minutes the task will be launchedOptionalNone

Minutes

OptionDefinitionUseDisables
MonthsTo specify which months we want to launch the taskOptionalNone
DaysTo specify which days of the month we want to launch the taskOptionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalDays
HoursThe hour the task will be launchedOptionalNone

Hours

OptionDefinitionUseDisables
MonthsTo specify which months we want to launch the taskOptionalNone
DaysTo specify which days of the month we want to launch the taskOptionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalDays

Days

OptionDefinitionUseDisables
MonthsTo specify which months we want to launch the taskOptionalNone
HoursThe hour the task will be launchedOptionalExecution time
MinutesThe minutes the task will be launchedOptionalExecution time
SecondsThe seconds the task will be launchedOptionalExecution time
Execution timeThe time where the schedule will be launch.OptionalHours,Minutes,Seconds

Months

OptionDefinitionUseDisables
DaysTo specify which days of the month we want to launch the taskOptionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalDays
HoursThe hour the task will be launchedOptionalExecution time
MinutesThe minutes the task will be launchedOptionalExecution time
SecondsThe seconds the task will be launchedOptionalExecution time
Execution timeTo specify an execution timeOptionalHours,Minutes,Seconds

Years

OptionDefinitionUseDisables
MonthsTo specify which months we want to launch the taskOptionalNone
DaysTo specify which days of the month we want to launch the taskOptionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalDays
HoursThe hour the task will be launchedOptionalExecution time
MinutesThe minutes the task will be launchedOptionalExecution time
SecondsThe seconds the task will be launchedOptionalExecution time
Execution timeTo specify an execution timeOptionalHours,Minutes,Seconds

Note: If one of the optional values inside the configuration is left empty, the default All value will be applied.

One time Schedules

This kind of schedule will launch a task just once.

This schedule type launches a task only once, by creating a cron pattern with an specific date and time.

The available fields to create this kind of task are:

OptionDefinitionUseDisables
Execution dateThe launch date.RequiredNone
Execution timeThe launch time.RequiredNone

Note: At least one of the two criterions need to be filled.

Custom schedules

The custom schedule allows to create every possible configuration the Quartz Scheduler can work with. The custom schedule configuration screen uses dependencies in order to help the user with the correct creation of the schedule by enabling / disabling criterions when needed.

The custom schedule offers all the available fields that can be customized to create the cron pattern.

OptionDefinitionUseDisables
CalendarA holiday calendar to use for the current task, the task won't be launched in the dates contained by the calendarOptionalExecution date
From ^1The start date / time for the current task scheduleOptionalExecution date,Execution time
To ^2The end date / time for the current task scheduleOptionalExecution date,Execution time
YearsThe years that the schedule will be launch.OptionalExecution date
MonthsTo specify which months we want to launch the taskOptionalExecution date
DaysTo specify which days of the month we want to launch the taskOptionalExecution date,Days of the week
Days of the weekTo specify which days of the week we want to launch the taskOptionalExecution date,Days
HoursThe hour the task will be launchedOptionalExecution time
MinutesThe minutes the task will be launchedOptionalExecution time
SecondsThe seconds the task will be launchedOptionalExecution time
Execution dateThe date the schedule will be launchedOptionalCalendar,From,To,Years,Months,Days,Days of the week
Execution timeThe time the schedule will be launchedOptionalHours,Minutes,Seconds

^1: If the From criterion is empty, the task will be launched at the moment it's created.

^2: If the To criterion is empty, the task will be launched indefinitely until its configuration changes, or the task is removed.