Skip to content

Commit fab3b27

Browse files
Merge pull request #310216 from DENKEN02MSFT/AIReadinessJune2025-sonialopez-Pass7
AI Readiness - Pass 7
2 parents 0f51331 + c1eb41e commit fab3b27

9 files changed

Lines changed: 114 additions & 113 deletions

articles/iot-hub/iot-hub-devguide-jobs.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ author: cwatson-cat
55
ms.author: cwatson
66
ms.service: azure-iot-hub
77
ms.topic: concept-article
8-
ms.date: 05/06/2019
8+
ms.date: 08/13/2025
99
ms.custom: mqtt
1010
---
1111

1212
# Schedule Azure IoT Hub jobs on multiple devices
1313

14-
Azure IoT Hub enables a number of building blocks like [device twin properties and tags](iot-hub-devguide-device-twins.md) and [direct methods](iot-hub-devguide-direct-methods.md). Typically, back-end apps enable device administrators and operators to update and interact with IoT devices in bulk and at a scheduled time. Jobs execute device twin updates and direct methods against a set of devices at a scheduled time. For example, an operator would use a back-end app that initiates and tracks a job to reboot a set of devices in building 43 and floor 3 at a time that would not be disruptive to the operations of the building.
14+
Azure IoT Hub enables many building blocks like [device twin properties and tags](iot-hub-devguide-device-twins.md) and [direct methods](iot-hub-devguide-direct-methods.md). Typically, back-end apps enable device administrators and operators to update and interact with IoT devices in bulk and at a scheduled time. Jobs execute device twin updates and direct methods against a set of devices at a scheduled time. For example, an operator would use a back-end app that initiates and tracks a job to reboot a set of devices in building 43 and floor 3 at a time that wouldn't be disruptive to the operations of the building.
1515

1616
[!INCLUDE [iot-hub-basic](../../includes/iot-hub-basic-whole.md)]
1717

@@ -23,7 +23,7 @@ Consider using jobs when you need to schedule and track progress any of the foll
2323

2424
## Job lifecycle
2525

26-
Jobs are initiated by the solution back end and maintained by IoT Hub. You can initiate a job through a service-facing URI (`PUT https://<iot hub>/jobs/v2/<jobID>?api-version=2021-04-12`) and query for progress on an executing job through a service-facing URI (`GET https://<iot hub>/jobs/v2/<jobID?api-version=2021-04-12`). To refresh the status of running jobs once a job is initiated, run a job query. There is no explicit purge of job history, but they have a TTL of 30 days. 
26+
Jobs are initiated by the solution back end and maintained by IoT Hub. You can initiate a job through a service-facing URI (`PUT https://<iot hub>/jobs/v2/<jobID>?api-version=2021-04-12`) and query for progress on an executing job through a service-facing URI (`GET https://<iot hub>/jobs/v2/<jobID?api-version=2021-04-12`). To refresh the status of running jobs once a job is initiated, run a job query. There's no explicit purge of job history, but they have a TTL of 30 days. 
2727

2828
> [!NOTE]
2929
> When you initiate a job, property names and values can only contain US-ASCII printable alphanumeric, except any in the following set: `$ ( ) < > @ , ; : \ " / [ ] ? = { } SP HT`
@@ -63,7 +63,7 @@ The query condition can also be on a single device ID or on a list of device IDs
6363
"queryCondition" = "deviceId IN ['MyDevice1']"
6464
```
6565

66-
[IoT Hub Query Language](iot-hub-devguide-query-language.md) covers IoT Hub query language in additional detail.
66+
For more information about the IoT Hub query language, see [IoT Hub query language for device and module twins, jobs, and message routing](iot-hub-devguide-query-language.md).
6767

6868
The following snippet shows the request and response for a job scheduled to call a direct method named testMethod on all devices on contoso-hub-1:
6969

@@ -168,7 +168,7 @@ Content-Type: application/json; charset=utf-8
168168

169169
The continuationToken is provided from the response.
170170

171-
You can query for the job execution status on each device using the [IoT Hub query language for device twins, jobs, and message routing](iot-hub-devguide-query-language.md).
171+
You can query for the job execution status on each device using the [IoT Hub query language for device and module twins, jobs, and message routing](iot-hub-devguide-query-language.md).
172172

173173
## Jobs properties
174174

@@ -198,24 +198,24 @@ The following list shows the properties and corresponding descriptions, which ca
198198
| | **deviceJobStatistics.runningCount**: Number of devices that are currently running the job. |
199199
| | **deviceJobStatistics.pendingCount**: Number of devices that are pending to run the job. |
200200

201-
### Additional reference material
201+
### Other reference material
202202

203-
Other reference topics in the IoT Hub developer guide include:
203+
Other reference articles in the IoT Hub developer guide include:
204204

205205
* [IoT Hub endpoints](iot-hub-devguide-endpoints.md) describes the various endpoints that each IoT hub exposes for run-time and management operations.
206206

207-
* [Throttling and quotas](iot-hub-devguide-quotas-throttling.md) describes the quotas that apply to the IoT Hub service and the throttling behavior to expect when you use the service.
207+
* [IoT Hub quotas and throttling](iot-hub-devguide-quotas-throttling.md) describes the quotas that apply to the IoT Hub service and the throttling behavior to expect when you use the service.
208208

209-
* [Azure IoT device and service SDKs](iot-hub-devguide-sdks.md) lists the various language SDKs you can use when you develop both device and service apps that interact with IoT Hub.
209+
* [Azure IoT Hub SDKs](iot-hub-devguide-sdks.md) lists the various language SDKs you can use when you develop both device and service apps that interact with IoT Hub.
210210

211-
* [IoT Hub query language for device twins, jobs, and message routing](iot-hub-devguide-query-language.md) describes the IoT Hub query language. Use this query language to retrieve information from IoT Hub about your device twins and jobs.
211+
* [IoT Hub query language for device and module twins, jobs, and message routing](iot-hub-devguide-query-language.md) describes the IoT Hub query language. Use this query language to retrieve information from IoT Hub about your device twins and jobs.
212212

213-
* [IoT Hub MQTT support](../iot/iot-mqtt-connect-to-iot-hub.md) provides more information about IoT Hub support for the MQTT protocol.
213+
* [Communicate with an IoT hub using the MQTT protocol](../iot/iot-mqtt-connect-to-iot-hub.md) provides more information about IoT Hub support for the MQTT protocol.
214214

215215
## Next steps
216216

217-
To try out some of the concepts described in this article, see the following IoT Hub tutorial:
217+
To explore some of the concepts described in this article, see the following IoT Hub article:
218218

219-
* [Schedule and broadcast jobs](schedule-jobs-node.md)
219+
* [Reliability in Azure IoT Hub](schedule-jobs-node.md)
220220

221221

0 commit comments

Comments
 (0)