Skip to content

Commit 27e864f

Browse files
authored
Update jobs-and-tasks.md
Corrected spelling issue reported by Acrolinx Correctness and made changes suggested in Acrolinx Consistency to increase the overall score.
1 parent 14a52f1 commit 27e864f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/batch/jobs-and-tasks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A job specifies the [pool](nodes-and-pools.md#pools) in which the work is to be
1616

1717
### Job priority
1818

19-
You can assign an optional job priority to jobs that you create. The Batch service uses the priority value of the job to determine the order of scheduling (for all tasks within the job) wtihin each pool.
19+
You can assign an optional job priority to jobs that you create. The Batch service uses the priority value of the job to determine the order of scheduling (for all tasks within the job) within each pool.
2020

2121
To update the priority of a job, call the [Update the properties of a job](/rest/api/batchservice/job/update) operation (Batch REST), or modify the [CloudJob.Priority](/dotnet/api/microsoft.azure.batch.cloudjob.priority) (Batch .NET). Priority values range from -1000 (lowest priority) to +1000 (highest priority).
2222

@@ -144,13 +144,13 @@ With task dependencies, you can configure scenarios like the following:
144144
- *taskC* depends on both *taskA* and *taskB*.
145145
- *taskD* depends on a range of tasks, such as tasks *1* through *10*, before it executes.
146146

147-
For more details, see [Task dependencies in Azure Batch](batch-task-dependencies.md) and the [TaskDependencies](https://github.com/Azure-Samples/azure-batch-samples/tree/master/CSharp/ArticleProjects/TaskDependencies) code sample in the [azure-batch-samples](https://github.com/Azure-Samples/azure-batch-samples) GitHub repository.
147+
For more information, see [Task dependencies in Azure Batch](batch-task-dependencies.md) and the [TaskDependencies](https://github.com/Azure-Samples/azure-batch-samples/tree/master/CSharp/ArticleProjects/TaskDependencies) code sample in the [azure-batch-samples](https://github.com/Azure-Samples/azure-batch-samples) GitHub repository.
148148

149149
### Environment settings for tasks
150150

151151
Each task executed by the Batch service has access to environment variables that it sets on compute nodes. This includes [environment variables defined by the Batch service](./batch-compute-node-environment-variables.md) and custom environment variables that you can define for your tasks. Applications and scripts that your tasks execute have access to these environment variables during execution.
152152

153-
You can set custom environment variables at the task or job level by populating the *environment settings* property for these entities. For more details, see the [Add a task to a job](/rest/api/batchservice/task/add?) operation (Batch REST), or the [CloudTask.EnvironmentSettings](/dotnet/api/microsoft.azure.batch.cloudtask.environmentsettings) and [CloudJob.CommonEnvironmentSettings](/dotnet/api/microsoft.azure.batch.cloudjob.commonenvironmentsettings) properties in Batch .NET.
153+
You can set custom environment variables at the task or job level by populating the *environment settings* property for these entities. For more information, see the [Add a task to a job](/rest/api/batchservice/task/add?) operation (Batch REST), or the [CloudTask.EnvironmentSettings](/dotnet/api/microsoft.azure.batch.cloudtask.environmentsettings) and [CloudJob.CommonEnvironmentSettings](/dotnet/api/microsoft.azure.batch.cloudjob.commonenvironmentsettings) properties in Batch .NET.
154154

155155
Your client application or service can obtain a task's environment variables, both service-defined and custom, by using the [Get information about a task](/rest/api/batchservice/task/get) operation (Batch REST) or by accessing the [CloudTask.EnvironmentSettings](/dotnet/api/microsoft.azure.batch.cloudtask.environmentsettings) property (Batch .NET). Processes executing on a compute node can access these and other environment variables on the node, for example, by using the familiar `%VARIABLE_NAME%` (Windows) or `$VARIABLE_NAME` (Linux) syntax.
156156

0 commit comments

Comments
 (0)