Skip to content

Commit e74a693

Browse files
committed
Fixed Acrolinx errors
1 parent 150f8eb commit e74a693

4 files changed

+11
-9
lines changed

articles/iot-hub/how-to-schedule-broadcast-jobs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ms.date: 1/7/2025
1212
zone_pivot_groups: iot-hub-howto-c2d-1
1313
---
1414

15+
# How to schedule and broadcast jobs
16+
1517
This article shows you how to create back-end app code to schedule device direct method and device twin desired property updates.
1618

1719
Use Azure IoT Hub to schedule and track jobs that update millions of devices. Use jobs to:

includes/iot-hub-howto-schedule-broadcast-jobs-dotnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobClient = JobClient.CreateFromConnectionString(connString);
6464

6565
Use [ScheduleDeviceMethodAsync](/dotnet/api/microsoft.azure.devices.jobclient.scheduledevicemethodasync) to create a new device method to run a device method on one or multiple devices.
6666

67-
This example schedules a device method call job for a specific job Id.
67+
This example schedules a device method call job for a specific job ID.
6868

6969
```csharp
7070
string methodJobId = Guid.NewGuid().ToString();
@@ -87,7 +87,7 @@ Console.WriteLine("Started Method Job");
8787

8888
Use [ScheduleTwinUpdateAsync](/dotnet/api/microsoft.azure.devices.jobclient.scheduledevicemethodasync) to create a new device twin update job to run a device twin update on one or multiple devices.
8989

90-
This example schedules a device twin update job for a specific job Id.
90+
This example schedules a device twin update job for a specific job ID.
9191

9292
```csharp
9393
string twinJobId = Guid.NewGuid().ToString();
@@ -115,7 +115,7 @@ Console.WriteLine("Started Twin Update Job");
115115

116116
Use [GetJobAsync](/dotnet/api/microsoft.azure.devices.jobclient.getjobasync?#microsoft-azure-devices-jobclient-getjobasync(system-string)) to monitor a job status.
117117

118-
This example checks the job status for a specific job Id periodically until the job has completed or failed.
118+
This example checks the job status for a specific job ID periodically until the job is complete or failed.
119119

120120
```csharp
121121
JobResponse result;
@@ -129,7 +129,7 @@ do
129129

130130
### SDK schedule job examples
131131

132-
The Azure IoT SDK for .NET provides working samples of service apps that handles job scheduling tasks. For more information, see:
132+
The Azure IoT SDK for .NET provides working samples of service apps that handle job scheduling tasks. For more information, see:
133133

134134
* [Schedule twin update sample](https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/service/samples/getting%20started/JobsSample/JobsSample.cs)
135135
* [E2E schedule twin update sample](https://github.com/Azure/azure-iot-sdk-csharp/blob/86065001a92fedb42877722c6a57ae37e45eed30/e2e/test/iothub/service/IoTHubCertificateValidationE2ETest.cs#L69)

includes/iot-hub-howto-schedule-broadcast-jobs-java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ JobClient jobClient = new JobClient(iotHubConnectionString);
7171

7272
### Create a device method update job
7373

74-
Use [scheduleDeviceMethod](/java/api/com.microsoft.azure.sdk.iot.service.jobs.jobclient?#com-microsoft-azure-sdk-iot-service-jobs-jobclient-scheduledevicemethod(java-lang-string-java-lang-string-java-lang-string-java-lang-long-java-lang-long-java-lang-object-java-util-date-long)) to to run a device method on one or multiple devices.
74+
Use [scheduleDeviceMethod](/java/api/com.microsoft.azure.sdk.iot.service.jobs.jobclient?#com-microsoft-azure-sdk-iot-service-jobs-jobclient-scheduledevicemethod(java-lang-string-java-lang-string-java-lang-string-java-lang-long-java-lang-long-java-lang-object-java-util-date-long)) to run a device method on one or multiple devices.
7575

76-
This example schedules a device method call job for a specific job Id.
76+
This example schedules a device method call job for a specific job ID.
7777

7878
```java
7979
private static JobResult scheduleJobCallDirectMethod(JobClient jobClient, String jobId) {

includes/iot-hub-howto-schedule-broadcast-jobs-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ iothub_job_manager = IoTHubJobManager.from_connection_string(IoTHubConnectionStr
6666

6767
Use [create_scheduled_job](/python/api/azure-iot-hub/azure.iot.hub.iothubjobmanager?#azure-iot-hub-iothubjobmanager-create-scheduled-job) to create a new device method to run a device method on one or multiple devices.
6868

69-
This example schedules a device method call job for a specific job Id.
69+
This example schedules a device method call job for a specific job ID.
7070

7171
```python
7272
def device_method_job(job_id, device_id, execution_time):
@@ -108,7 +108,7 @@ def device_twin_job(job_id, device_id, execution_time):
108108

109109
### Monitor a job
110110

111-
Use [get_scheduled_job](/python/api/azure-iot-hub/azure.iot.hub.iothubjobmanager?#azure-iot-hub-iothubjobmanager-get-scheduled-job) to retrieves the details of a scheduled job on an IoT Hub.
111+
Use [get_scheduled_job](/python/api/azure-iot-hub/azure.iot.hub.iothubjobmanager?#azure-iot-hub-iothubjobmanager-get-scheduled-job) to retrieve the details of a scheduled job on an IoT Hub.
112112

113113
For example:
114114

@@ -123,7 +123,7 @@ while True:
123123

124124
### SDK schedule job examples
125125

126-
The Azure IoT SDK for Python provides working samples of service apps that handles job scheduling tasks. For more information, see:
126+
The Azure IoT SDK for Python provides working samples of service apps that handle job scheduling tasks. For more information, see:
127127

128128
* [Invoke a device method](https://github.com/Azure/azure-iot-hub-python/blob/8c8f315e8b26c65c5517541a7838a20ef8ae668b/samples/iothub_job_manager_method_sample.py)
129129
* [Update a device twin](https://github.com/Azure/azure-iot-hub-python/blob/8c8f315e8b26c65c5517541a7838a20ef8ae668b/samples/iothub_job_manager_twin_update_sample.py)

0 commit comments

Comments
 (0)