Task Scheduler
Overview
The Task Scheduler component is used to schedule data between data sources. It is mainly used to set the integration mode and execution period of tasks.
Configuration
- Using the QuartZ Cron expression
The QuartZ Cron expression supports flexible schedules. For example, a task can be executed every 15 minutes from 01:00 a.m. to 04:00 a.m. every day. Such schedules cannot be implemented through simple GUI configuration, but by QuartZ Cron expression.
0 0/15 1-4 * * ?
Figure 1 QuartZ Cron expression
Table 1 QuartZ Cron expression Parameter
Description
Use QuartZ Cron Expression
Select Yes.
QuartZ Cron Expression
Specify the QuartZ Cron expression for the schedule. Currently, ROMA Connect supports only minute-level schedules. Second in the expression is fixed to 0. For details about how to use the QuartZ Cron expression, see How Can I Configure the Time for Triggering a Scheduled Task?
For example, if a task needs to be executed every 15 minutes from 01:00 a.m. to 04:00 a.m. every day, the QuartZ Cron expression corresponding to the schedule is as follows:
0 0/15 1-4 * * ?
Execution Time
Specify the time at which you want the task to be executed. The task will be executed in the subsequent scheduling period.
For example, if Execution Time is set to 2020-2-2 02:02:02 and QuartZ Cron Expression is set as above, the task is executed for the first time at 2020-2-3 02:15:00.
Description
Enter the description of the schedule.
- Not using the QuartZ Cron expression
Figure 2 GUI configuration
Table 2 GUI configuration Parameter
Description
Use QuartZ Cron Expression
Select No.
Unit
Set the unit of the task execution period. The value can be Minute, Hour, Day, Week, or Month.
Period
Set the task execution cycle. The value range varies depending on the value of Unit.
For example, if Unit is set to Day and Period is set to 1, the data integration task is executed once every day.
Execution Time
Specify the time at which you want the task to be executed. The task will be executed in the subsequent scheduling period.
For example, if Execution Time is set to 2020-2-2 02:02:02 and the scheduling period is one day, the task is executed for the first time at 2020-2-3 02:02:02.
Description
Enter the description of the schedule.
Last Article: HTTP Response
Next Article: Routing
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.