You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
16
16
17
+
:::zone target="docs" pivot="dotnet"
17
18
## Prerequisites
18
19
19
20
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
@@ -22,12 +23,18 @@ WebJobs is a feature of Azure App Service that enables you to run a program
22
23
- Ensure the App setting `WEBSITE_SKIP_RUNNING_KUDUAGENT` is set to `false`.
23
24
24
25
## Download the sample WebJob
25
-
26
-
:::zone target="docs" pivot="dotnet"
27
26
dotnet
28
27
:::zone-end
29
28
30
29
:::zone target="docs" pivot="python"
30
+
## Prerequisites
31
+
32
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
33
+
- An existing App Service Python app on Linux. In this quickstart, a [Python app](quickstart-python) is used.
34
+
-**[Always on](configure-common.md?tabs=portal#configure-general-settings)** must be enabled on your app.
35
+
- Ensure the App setting `WEBSITE_SKIP_RUNNING_KUDUAGENT` is set to `false`.
36
+
37
+
## Download the sample WebJob
31
38
32
39
You can [download a pre-built sample project](https://github.com/Azure-Samples/App-Service-Python-WebJobs-QuickStart/archive/refs/heads/main.zip) to get started quickly. The sample includes two files: `webjob.py` and `run.sh`.
33
40
@@ -75,6 +82,14 @@ The file, `run.sh`, calls WebJob.py as shown below:
75
82
:::zone-end
76
83
77
84
:::zone target="docs" pivot="node"
85
+
## Prerequisites
86
+
87
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
88
+
- An existing App Service Python app on Linux. In this quickstart, a [Python app](quickstart-python) is used.
89
+
-**[Always on](configure-common.md?tabs=portal#configure-general-settings)** must be enabled on your app.
90
+
- Ensure the App setting `WEBSITE_SKIP_RUNNING_KUDUAGENT` is set to `false`.
91
+
92
+
## Download the sample WebJob
78
93
79
94
You can [download a pre-built sample project](https://github.com/Azure-Samples/App-Service-Python-WebJobs-QuickStart/archive/refs/heads/main.zip) to get started quickly. The sample includes two files: `webjob.js` and `run.sh`.
80
95
@@ -126,10 +141,27 @@ node webjob.js
126
141
:::zone-end
127
142
128
143
:::zone target="docs" pivot="java"
129
-
java
144
+
## Prerequisites
145
+
146
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
147
+
- An existing App Service Python app on Linux. In this quickstart, a [Python app](quickstart-python) is used.
148
+
-**[Always on](configure-common.md?tabs=portal#configure-general-settings)** must be enabled on your app.
149
+
- Ensure the App setting `WEBSITE_SKIP_RUNNING_KUDUAGENT` is set to `false`.
150
+
151
+
## Download the sample WebJob
152
+
130
153
:::zone-end
131
154
132
155
:::zone target="docs" pivot="php"
156
+
## Prerequisites
157
+
158
+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
159
+
- An existing App Service Python app on Linux. In this quickstart, a [Python app](quickstart-python) is used.
160
+
-**[Always on](configure-common.md?tabs=portal#configure-general-settings)** must be enabled on your app.
161
+
- Ensure the App setting `WEBSITE_SKIP_RUNNING_KUDUAGENT` is set to `false`.
162
+
163
+
## Download the sample WebJob
164
+
133
165
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`.
134
166
135
167
The PHP script, `webjob.php`, outputs the current time to the console as shown below:
0 commit comments