Skip to content

Commit 32a30ff

Browse files
committed
acrolinx
1 parent c2f2772 commit 32a30ff

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

articles/app-service/overview-webjobs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ WebJobs also provide **built-in logging** via Kudu and integration with App Serv
5959

6060
## Scaling considerations
6161

62-
WebJobs scale together with your App Service plan. If your app is configured to scale out to multiple instances, your WebJobs will run on each instance as appropriate:
62+
WebJobs scale together with your App Service plan. If your app is configured to scale out to multiple instances, your WebJobs run on each instance as appropriate:
6363
- **Triggered WebJobs** will run on a single instance by default.
6464
- **Continuous WebJobs** can be configured to run on all instances or a single one using the `WEBJOBS_RUN_ONCE` setting.
6565

6666
If you need independently scalable or event-driven execution, [Azure Functions](../azure-functions/functions-overview.md) may be more appropriate.
6767

6868
## Best practices
6969

70-
- Use **triggered** WebJobs for ad hoc or scheduled operations.
70+
- Use **triggered** WebJobs for improvised or scheduled operations.
7171
- Use **continuous** WebJobs only when the task needs to run constantly (e.g., polling a queue).
7272
- Implement **retry logic and error handling** within your scripts.
7373
- Use **application logging** and **Kudu logs** to monitor job behavior.
@@ -85,8 +85,8 @@ If you need independently scalable or event-driven execution, [Azure Functions](
8585

8686
## <a name="NextSteps"></a> Next steps
8787

88-
- [Background jobs best practices – Azure Architecture Center](/azure/architecture/best-practices/background-jobs)
88+
- [Review background jobs best practices – Azure Architecture Center](/azure/architecture/best-practices/background-jobs)
8989
- [Develop WebJobs using Visual Studio](webjobs-dotnet-deploy-vs.md)
9090
- [Get started with the WebJobs SDK](webjobs-sdk-get-started.md)
9191
- [Use the WebJobs SDK to build advanced jobs](webjobs-sdk-how-to.md)
92-
- [Kudu WebJobs reference on GitHub](https://github.com/projectkudu/kudu/wiki/WebJobs)
92+
- [Review Kudu WebJobs reference on GitHub](https://github.com/projectkudu/kudu/wiki/WebJobs)

articles/app-service/tutorial-webjobs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ public class HelloWorld {
271271
272272
### Build the Java WebJob
273273
274-
1. The `run.sh` script runs a jar with the name that's set in the Maven configuration. This script will run when our WebJob is triggered.
274+
1. The `run.sh` script runs a jar with the name that sets in the Maven configuration. This script runs when our WebJob is triggered.
275275
276276
```bash
277277
java -jar webjob-artifact-1.0.0.jar
278278
```
279279
280-
1. Next, we compile the Java project to produce the executable `.jar`. There are multiple ways to do this, but for this example, we’ll use Maven. Run the following commands from the `project/` directory:
280+
1. Next, we compile the Java project to produce the executable `.jar`. There are multiple ways to do this, but for this example, we use Maven. Run the following commands from the `project/` directory:
281281
282282
```bash
283283
mvn install
@@ -322,7 +322,7 @@ public class HelloWorld {
322322

323323
:::zone target="docs" pivot="php"
324324

325-
WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app. All app service plans support WebJobs at no additional cost. This sample uses a scheduled (Triggered) WebJob to output the system time once every minute.
325+
WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app. All app service plans support WebJobs at no extra cost. This sample uses a scheduled (Triggered) WebJob to output the system time once every minute.
326326

327327
## Prerequisites
328328

@@ -333,7 +333,7 @@ WebJobs is a feature of Azure App Service that enables you to run a program
333333

334334
## Download the sample WebJob
335335

336-
You can [download a pre-built sample project](https://github.com/Azure-Samples/App-Service-PHP-WebJobs-QuickStart/archive/refs/heads/main.zip) to get started quickly. The sample includes two files: `webjob.php` and `run.sh`.
336+
You can [download a prebuilt sample project](https://github.com/Azure-Samples/App-Service-PHP-WebJobs-QuickStart/archive/refs/heads/main.zip) to get started quickly. The sample includes two files: `webjob.php` and `run.sh`.
337337

338338
The PHP script, `webjob.php`, outputs the current time to the console as shown below:
339339

0 commit comments

Comments
 (0)