This topic describes how to configure timed scheduling for a task flow by using the task orchestration feature of Data Management (DMS).
Scenarios
If you want a task flow to be executed at a specific point in time or within a specific time range, you can create a timed scheduling policy for the task flow. The point in time or time range that you specify is in UTC+8.
For example, you can create a timed scheduling policy that is triggered at 00:00 every Tuesday and Friday from August 23, 2023 to September 30, 2023.
Procedure
- Log on to the DMS console V5.0.
In the top navigation bar, choose .
NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner and choose . In the Task Flow section of the Task Orchestration page, click the name of the task flow that you want to manage.
In the lower part of the task flow page, click Task Flow Information. On the Task Flow Information tab, turn on Enable Scheduling in the Scheduling Settings section.
Configure a timed scheduling policy for the task flow. Select a scheduling type based on your business requirements.
If you set the Scheduling Type parameter to , you must configure the following parameters for the task flow.
Parameter
Description
Effective Time
The period during which the scheduling policy takes effect. The default time period is from January 1, 1970 to January 1, 9999, which indicates that the scheduling policy permanently takes effect.
Scheduling Cycle
Hour: The task flow is run within the hours that you specify.
Day: The task flow is run at the specified point in time every day. If you select this option, you must configure the Specific Point in Time parameter.
Week: The task flow is run at the specified point in time on the days that you select every week. If you select this option, you must configure the Specified Time and Specific Point in Time parameters.
Month: The task flow is run at the specified point in time on the days that you select every month. If you select this option, you must configure the Specified Time and Specific Point in Time parameters.
Timed Scheduling
The scheduling method of the task flow. This parameter is displayed only if you set the Scheduling Cycle parameter to Hour. DMS provides the following timed scheduling methods:
Run at an interval: You must specify the time range and the interval to run the task flow. Unit: hours.
For example, you can set the Starting Time parameter to 00:00, the Intervals parameter to 6, and the End Time parameter to 20:59. In this case, DMS runs the task flow at 00:00, 06:00, 12:00, and 18:00.
Run at the specified point in time: You can select the hours at which DMS runs the task flow by using the Specified Time parameter.
For example, if you select 0Hour and 5Hour, DMS runs the task flow at 00:00 and 05:00.
Specified Time
This parameter is displayed if you set the Scheduling Cycle parameter to Week or Month.
If you set the Scheduling Cycle parameter to Week, you can select one or more days of a week from the drop-down list.
If you set the Scheduling Cycle parameter to Month, you can select one or more days of a month from the drop-down list.
Specific Point in Time
This parameter is displayed if you set the Scheduling Cycle to Day, Week, or Month.
The point in time of the specified days at which the task flow is run.
For example, if you set this parameter to 02:55, DMS runs the task flow at 02:55 on the specified days.
If you set the Scheduling Type parameter to , you need to configure only the Specific Point in Time parameter for the task flow.