Saltar al contenido principal
Version: 4.7.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:

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

º


^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

OptionDefinitionUsoDisables
MonthsTo specify which months we want to launch the taskOpcionalNone
DaysTo specify which days of the month we want to launch the taskOpcionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalDays
HoursThe hour the task will be launchedOpcionalNone
MinutesThe minutes the task will be launchedOpcionalNone

Minutes

OptionDefinitionUsoDisables
MonthsTo specify which months we want to launch the taskOpcionalNone
DaysTo specify which days of the month we want to launch the taskOpcionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalDays
HoursThe hour the task will be launchedOpcionalNone

Hours

OptionDefinitionUsoDisables
MonthsTo specify which months we want to launch the taskOpcionalNone
DaysTo specify which days of the month we want to launch the taskOpcionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalDays

Days

OptionDefinitionUsoDisables
MonthsTo specify which months we want to launch the taskOpcionalNone
HoursThe hour the task will be launchedOpcionalExecution time
MinutesThe minutes the task will be launchedOpcionalExecution time
SecondsThe seconds the task will be launchedOpcionalExecution time
Execution timeThe time where the schedule will be launch.OpcionalHours,Minutes,Seconds

Months

OptionDefinitionUsoDisables
DaysTo specify which days of the month we want to launch the taskOpcionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalDays
HoursThe hour the task will be launchedOpcionalExecution time
MinutesThe minutes the task will be launchedOpcionalExecution time
SecondsThe seconds the task will be launchedOpcionalExecution time
Execution timeTo specify an execution timeOpcionalHours,Minutes,Seconds

Years

OptionDefinitionUsoDisables
MonthsTo specify which months we want to launch the taskOpcionalNone
DaysTo specify which days of the month we want to launch the taskOpcionalDays of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalDays
HoursThe hour the task will be launchedOpcionalExecution time
MinutesThe minutes the task will be launchedOpcionalExecution time
SecondsThe seconds the task will be launchedOpcionalExecution time
Execution timeTo specify an execution timeOpcionalHours,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:

OptionDefinitionUsoDisables
Execution dateThe launch date.ObligatorioNone
Execution timeThe launch time.ObligatorioNone

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.

OptionDefinitionUsoDisables
CalendarA holiday calendar to use for the current task, the task won't be launched in the dates contained by the calendarOpcionalExecution date
From ^1The start date / time for the current task scheduleOpcionalExecution date,Execution time
To ^2The end date / time for the current task scheduleOpcionalExecution date,Execution time
YearsThe years that the schedule will be launch.OpcionalExecution date
MonthsTo specify which months we want to launch the taskOpcionalExecution date
DaysTo specify which days of the month we want to launch the taskOpcionalExecution date,Days of the week
Days of the weekTo specify which days of the week we want to launch the taskOpcionalExecution date,Days
HoursThe hour the task will be launchedOpcionalExecution time
MinutesThe minutes the task will be launchedOpcionalExecution time
SecondsThe seconds the task will be launchedOpcionalExecution time
Execution dateThe date the schedule will be launchedOpcionalCalendar,From,To,Years,Months,Days,Days of the week
Execution timeThe time the schedule will be launchedOpcionalHours,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.