Node scheduling configuration
Define the scheduling cycle, dependencies, and parameters for tasks that need to run periodically.
Prerequisites
-
A node has been created. Select a node type based on your business requirements. Data development process.
-
Periodic scheduling is enabled for the workspace. A node can be scheduled automatically only after this is enabled. Enable it on the Scheduling Settings page. Configure scheduling settings.
Important
-
Scheduling configuration takes effect only after the node is deployed to the production environment.
-
The scheduled time is the expected run time. Actual run time depends on upstream node completion. Run diagnostics.
-
For complex dependency scenarios, read Must read: Principles and examples for scheduling configurations in complex dependency scenarios to understand preset dependency behavior.
-
A scheduled task generates instances based on its scheduling type and cycle count. For example, an hourly task generates one instance per hour each day, and these instances run automatically.
-
If you use scheduling parameters, runtime values for each cycle are determined by the scheduled time and your parameter expressions. Supported formats for scheduling parameters.
Access the scheduling configuration
-
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.
-
Go to the scheduling configuration page.
-
In DataStudio, find the target node and go to the node editing page.
-
In the right-side navigation pane of the node editing page, click Properties to open the node scheduling configuration page.
-
Node scheduling properties
The following scheduling properties are available for each node.
|
Parameter |
Description |
|
Basic node information: name, ID, type, and owner.
|
|
|
Define parameters for scheduled runs. DataWorks supports built-in and custom parameters for dynamic value assignment. Note
If you define a variable in the node code, you must assign its value here. |
|
|
Configure how the task runs periodically in the production environment.
|
|
|
Specify the scheduling resource group for the task in the production environment. |
|
|
Define upstream and downstream dependencies to ensure nodes run in the correct order. A downstream node runs only after all its upstream nodes succeed. Use automatic parsing for quick setup or configure dependencies manually.
Note
|
|
|
Define how parameters pass between upstream and downstream nodes. A downstream node can reference an output parameter defined in an upstream node. |
Next steps
After configuring scheduling, commit the node and debug it to verify the configuration. Then deploy the node to the production environment for periodic scheduling. Perform basic O&M operations on scheduled tasks.