Skip to content

Commit 05ce059

Browse files
authored
Merge pull request #2 from dominicbetts/jobsgafeb
Minor updates to your PR
2 parents 2d1f530 + 0e7785c commit 05ce059

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

articles/iot-central/core/howto-run-a-job.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,61 @@ manager: peterpr
1212

1313
# Create and run a job in your Azure IoT Central application
1414

15-
You can use Microsoft Azure IoT Central to manage your connected devices at scale using jobs. Jobs let you do bulk updates to device properties and commands. This article walks you through how to get started using jobs in your own application.
15+
You can use Microsoft Azure IoT Central to manage your connected devices at scale using jobs. Jobs let you do bulk updates to device properties and run commands. This article shows you how to get started using jobs in your own application.
1616

1717
## Create and run a job
1818

1919
This section shows you how to create and run a job. It shows you how to set the light threshold for a group of logistic gateway devices.
2020

21-
1. Navigate to Jobs from the navigation pane.
21+
1. Navigate to **Jobs** from the left pane.
2222

23-
2. Select **+ New** to create a new job.
23+
2. Select **+ New** to create a new job:
2424

25-
![Create new job](./media/howto-run-a-job/createnewjob.png)
25+
> [!div class="mx-imgBorder"]
26+
> ![Create new job](./media/howto-run-a-job/createnewjob.png)
2627
2728
3. Enter a name and description to identify the job you're creating.
2829

29-
4. Select the target device group you want your job to apply to. You can see how many devices your job configuration will be applied to in the Summary section.
30+
4. Select the target device group you want your job to apply to. You can see how many devices your job configuration applies to in the **Summary** section.
3031

31-
5. Next, choose the type of job to configure (property or command). Set up the job configuration by selecting a property and setting it's new values, or choose to run a command. It is possible to add multiple properties at a time.
32+
5. Next, choose either **Property** or **Command** as the type of job to configure. To set up a **Property** job configuration, select a property and set its new value. To set up a **Command**, or choose the command to run. A property job can set multiple properties:
3233

33-
![Configure job](./media/howto-run-a-job/configurejob.png)
34+
> [!div class="mx-imgBorder"]
35+
> ![Configure job](./media/howto-run-a-job/configurejob.png)
3436
35-
6. After selecting your devices, choose **Run** or **Save**. The job now appears on your main **Jobs** page. On this view, you can see your currently running job and the history of any previously run or saved jobs. Your saved job can be opened again at any time to continue editing or to run.
37+
6. After selecting your devices, choose **Run** or **Save**. The job now appears on your main **Jobs** page. On this page, you can see your currently running job and the history of any previously run or saved jobs. Your saved job can be opened again at any time to continue editing it or to run it:
3638

37-
![View job](./media/howto-run-a-job/viewjob.png)
39+
> [!div class="mx-imgBorder"]
40+
> ![View job](./media/howto-run-a-job/viewjob.png)
3841
3942
> [!NOTE]
40-
> You can view the history of your previously run jobs for up to 30 days.
43+
> You can view up 30 days of history for your previously run jobs.
4144
42-
7. To get an overview of your job, select the job to view from the list. This overview contains the job details, devices, and device statuses. From this overview, you can also select **Download Job Details** to download a .csv file of your job details, including the devices and their statuses. This information can be useful for troubleshooting.
45+
7. To get an overview of your job, select the job to view from the list. This overview contains the job details, devices, and device status values. From this overview, you can also select **Download Job Details** to download a CSV file of your job details, including the devices and their status values. This information can be useful for troubleshooting:
4346

44-
![View device status](./media/howto-run-a-job/downloaddetails.png)
47+
> [!div class="mx-imgBorder"]
48+
> ![View device status](./media/howto-run-a-job/downloaddetails.png)
4549
4650
### Stop a running job
4751

48-
To stop a running job, open the job and click **Stop**. The job status changes to reflect the job is stopped. The Summary section will show which devices have completed, failed, or are still pending.
52+
To stop one of your running jobs, open it and select **Stop**. The job status changes to reflect the job is stopped. The **Summary** section shows which devices have completed, failed, or are still pending:
4953

50-
![Stop job](./media/howto-run-a-job/stopjob.png)
54+
> [!div class="mx-imgBorder"]
55+
> ![Stop job](./media/howto-run-a-job/stopjob.png)
5156

5257
### Run a stopped job
5358

54-
To run a job that's currently stopped, select the stopped job. Click **Run**. The job status changes to reflect the job is now running again. The SUmmary section will continue to update with the latest progress.
59+
To run a job that's currently stopped, select it, and then select **Run**. The job status changes to reflect the job is now running again. The **Summary** section continues to update with the latest progress:
5560

56-
![Resumed job](./media/howto-run-a-job/resumejob.png)
61+
> [!div class="mx-imgBorder"]
62+
> ![Resumed job](./media/howto-run-a-job/resumejob.png)
5763

5864
## Copy a job
5965

60-
To copy an existing job you've created, open a job that has been created and select **Copy**. A new copy of the job configuration opens for you to edit and appends "Copy" to the end of the name. You can save or run the new job.
66+
To copy one of your existing jobs, open it and select **Copy**. A copy of the job configuration opens for you to edit, and **Copy** is appended to the end of the job name. You can save or run the new job:
6167

62-
![Copy job](./media/howto-run-a-job/copyjob.png)
68+
> [!div class="mx-imgBorder"]
69+
> ![Copy job](./media/howto-run-a-job/copyjob.png)
6370

6471
## View the job status
6572

@@ -82,7 +89,7 @@ The status message is followed by an overview of the devices in the job. The fol
8289

8390
### View the device status
8491

85-
To view the status of the job and all the affected devices, select the job. To download a .csv file that includes the job details, including the list of devices and their status values, select **Download job details**. Next to each device name, you see one of the following status messages:
92+
To view the status of the job and all the affected devices, select the job. To download a CSV file that includes the job details, including the list of devices and their status values, select **Download job details**. Next to each device name, you see one of the following status messages:
8693

8794
| Status message | Status meaning |
8895
| -------------------- | ----------------------------------------------------------------------------- |
@@ -91,7 +98,7 @@ To view the status of the job and all the affected devices, select the job. To d
9198
| Pending | The job hasn't yet executed on this device. |
9299

93100
> [!NOTE]
94-
> If a device has been deleted, you can't select the device and it displays as deleted with the device ID.
101+
> If a device has been deleted, you can't select the device. It displays as deleted with the device ID.
95102
96103
## Next steps
97104

0 commit comments

Comments
 (0)