Scheduling
Repository > Scheduling
Attributes tab
Please find below the most important fields.
| Field | Description |
|---|---|
| Enabled | Indicates that the data processing has been approved and enables it to be run. |
| Parent group | Indicates the group to which the data processing belongs. |
| Note | Reports the reason why the scheduled data processing is not valid and may contain comments added by the user. |
| Last execution Info | Reports the date, time and result of the last data processing and the name of the server that performed it. If the system property it.grupposervizi.easy.server.scheduling.allowed (selected by default) is deselected in the application server configuration file, the system will prevent pending or booked data processing from being run on the server. Note: scheduled data processing is always performed in asynchronous mode. |
Run settings tab
Please find below the most important fields.
| Field | Description |
|---|---|
| Enable sorting | Only with Parent group specified. Makes it possible to specify the run order in relation to other data processing operations scheduled in the same group. |
| Permitted servers | Indicates the servers on which the scheduled data processing can be performed. |
| Booking Maximum Waiting Time | Amount of time for which the system will try to run the scheduled data processing in the queue. The system assigns Booked status to the data processing and automatically attempts to run it every minute until it succeeds or until the time limit set by the user is reached. - -1: no time limit - 0: prevents the data processing from acquiring Booked status and schedules it for the next Crontab cycle. - > 0: minutes in queue. Once expired, the data processing is considered to have failed and will be scheduled for the next Crontab cycle. |
| Errors management | This makes it possible to configure the launch of failed scheduled data processing. |
| Action in case of Error | Only with Parent group specified. Indicates the action that the system must perform if a data process in the group fails. - Continue: the system moves on to the next data process in the group. - Exit: the system stops data processing in the group. |
Scheduling tab
Please find below the most important fields.
| Field | Description |
|---|---|
| Days of the month | Data processing run date or dates. *: all possible values |
| Month | Data processing run month indicated in figures. *: all possible values |
Crontab syntax
The fields Minutes, Hours, Days of the Month, Month and Days of the Week can contain a number, a range of values, multiple values, particular strings, following the Crontab syntax. The operators that can be used are:
- comma (,): specifies a list of values e.g. 1,3,4,7,8
- hyphen (-): specifies a range of values, e.g. 1-6 which equals 1,2,3,4,5,6
- asterisk (*): specifies all possible values of a field. For example, an asterisk in the time field means 'every hour';
- bar (/): is used to skip a certain number of values.