To run tasks on a schedule, first go to the Scheduling settings page in DataStudio and enable the scheduling feature. After you enable this feature, the scheduling configurations for your auto triggered tasks take effect. DataWorks also lets you set a default resource group, default rerun properties, number of reruns, and rerun interval for auto triggered tasks.
Limitations
The default scheduling settings apply only to new auto triggered tasks.
Configure default scheduling settings
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to Data Development.
-
In the lower-left corner of the navigation pane, click the
icon to go to the Configure page. -
On the Scheduling Settings tab, configure the default settings for scheduling features.
The following table describes the features.
Parameter
Description
Periodic Scheduling
Once enabled, auto triggered tasks in the current workspace run according to their schedules.
NoteIf you disable this feature, existing task instances for the current day will still run as scheduled. However, the system does not generate new instances for the next day.
Time Zone for Scheduling
The default scheduling time zone is the server time zone. If you are using a region outside the Chinese mainland and need to set the scheduling time zone to UTC+8, submit a ticket.
NoteBefore you change the scheduling time zone, review the potential impacts described in Create a workspace.
Timed scheduling time
By default, the scheduling time is set to a random time between
00:00 and 00:30. You can customize the time based on your business needs.Resource Group for Scheduling
The default resource group for scheduled tasks.
Resource Group for Data Integration
The default resource group for Data Integration tasks.
Rerun attribute
The default rerun policy for auto triggered tasks.
NoteIf the Rerun attribute are configured to allow reruns, make sure that tasks are idempotent. This prevents data quality issues caused by multiple reruns.
Auto Rerun Times upon Error
The default number of automatic reruns for an auto triggered task after it fails.
The minimum number of reruns is 1, and the maximum is 10. You can change this value based on your business requirements.
Rerun Interval
The default time interval between consecutive reruns for an auto triggered task.
The interval can range from 1 minute to 30 minutes.
Automatic Parsing from Code Before Node Committing
If enabled, when a node is committed, the system automatically parses the output names of the node and its upstream dependencies from the latest code.
-
Click Modify to save the default scheduling settings.
After you configure the Scheduling Settings, new auto triggered tasks will use these defaults.