You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-schedule-pipeline-job.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,24 @@ This article shows you how to create, retrieve, update, and deactivate schedules
55
55
56
56
## Create a schedule
57
57
58
-
To run a pipeline job on a recurring basis, you must create a schedule that associates the job with a trigger. The trigger can be either a `recurrence` pattern or a `cron` expression that specifies the interval and frequency to run the job.
58
+
When you have a pipeline job with satisfying performance and outputs, you can set up a schedule to automatically trigger the job on a regular basis. To do so, you must create a schedule that associates the job with a trigger. The trigger can be either a `recurrence` pattern or a `cron` expression that specifies the interval and frequency to run the job.
59
59
60
60
In both cases, you need to define a pipeline job first, either inline or by specifying an existing pipeline job. You can define pipelines in YAML and run them from the CLI, author pipelines inline in Python, or compose pipelines in Azure Machine Learning studio. You can create pipeline jobs locally or from existing jobs in the workspace.
61
61
62
62
You can create v2 schedules for v2 or v1 pipeline jobs by using the studio UI, SDK v2, or CLI v2. You don't have to publish existing pipelines first to set up schedules for pipeline jobs.
63
63
64
+
# [Azure CLI](#tab/cliv2)
65
+
66
+
The code examples in this article are from [Working with Schedule in Azure Machine Learning CLI 2.0](https://github.com/Azure/azureml-examples/tree/main/cli/schedules).
67
+
68
+
# [Python SDK](#tab/python)
69
+
70
+
The code examples in this article are excerpts from the [Working with Schedule](https://github.com/Azure/azureml-examples/blob/main/sdk/python/schedules/job-schedule.ipynb) Azure Machine Learning Notebook. Run the notebook to create and manage the schedules as described.
71
+
72
+
# [Studio UI](#tab/ui)
73
+
74
+
To create a schedule for an Azure Machine Learning v2 pipeline job, open the pipeline page for that job.
75
+
64
76
### Define a time-based schedule with a recurrence pattern
65
77
66
78
# [Azure CLI](#tab/cliv2)
@@ -81,9 +93,7 @@ You must or can provide the following schedule parameters:
81
93
82
94
# [Studio UI](#tab/ui)
83
95
84
-
When you have a pipeline job with satisfying performance and outputs, you can set up a schedule to automatically trigger the job on a regular basis.
85
-
86
-
To open the schedule creation wizard, on the pipeline job detail page, select **Schedule** > **Create new schedule**.
96
+
To open the schedule creation wizard, select **Schedule** > **Create new schedule**.
87
97
88
98
:::image type="content" source="./media/how-to-schedule-pipeline-job/schedule-entry-button.png" alt-text="Screenshot of the jobs tab showing the Create new schedule button selected." lightbox= "./media/how-to-schedule-pipeline-job/schedule-entry-button.png":::
89
99
@@ -122,9 +132,6 @@ To define a recurrence-based schedule, on the **Basic settings** screen, define
122
132
123
133
---
124
134
125
-
126
-
### Create the recurrence-based schedule
127
-
128
135
# [Azure CLI](#tab/cliv2)
129
136
130
137
After you create the schedule YAML, use the following command to create the schedule via CLI:
@@ -207,8 +214,6 @@ Only the **Name** property requires you to enter a value. If you don't specify a
207
214
208
215
---
209
216
210
-
### Create the schedule
211
-
212
217
# [Azure CLI](#tab/cliv2)
213
218
214
219
After you create the schedule YAML, use the following command to create the schedule via CLI:
0 commit comments