Skip to content

Commit 786f490

Browse files
committed
some changes
1 parent 19679d3 commit 786f490

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

articles/machine-learning/how-to-schedule-pipeline-job.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,24 @@ This article shows you how to create, retrieve, update, and deactivate schedules
5555

5656
## Create a schedule
5757

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.
5959

6060
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.
6161

6262
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.
6363

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+
6476
### Define a time-based schedule with a recurrence pattern
6577

6678
# [Azure CLI](#tab/cliv2)
@@ -81,9 +93,7 @@ You must or can provide the following schedule parameters:
8193

8294
# [Studio UI](#tab/ui)
8395

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**.
8797

8898
:::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":::
8999

@@ -122,9 +132,6 @@ To define a recurrence-based schedule, on the **Basic settings** screen, define
122132

123133
---
124134

125-
126-
### Create the recurrence-based schedule
127-
128135
# [Azure CLI](#tab/cliv2)
129136

130137
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
207214

208215
---
209216

210-
### Create the schedule
211-
212217
# [Azure CLI](#tab/cliv2)
213218

214219
After you create the schedule YAML, use the following command to create the schedule via CLI:

0 commit comments

Comments
 (0)