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
# Run background tasks with WebJobs in Azure App Service
19
19
20
+
> [!NOTE]
21
+
> WebJobs for Windows container, Linux code, and Linux container is in preview. WebJobs for Windows code is generally available and not in preview.
22
+
20
23
Deploy WebJobs by using the [Azure portal](https://portal.azure.com) to upload an executable or script. You can run background tasks in the Azure App Service.
21
24
22
25
If instead of the Azure App Service, you're using Visual Studio to develop and deploy WebJobs, see [Deploy WebJobs using Visual Studio](webjobs-dotnet-deploy-vs.md).
@@ -34,13 +37,19 @@ Azure Functions provides another way to run programs and scripts. For a comparis
34
37
35
38
### <aname="acceptablefiles"></a>Supported file types for scripts or programs
36
39
40
+
### [Windows code](#tab/windowscode)
37
41
The following file types are supported:
38
-
39
-
| App type | Windows code | Windows container | Linux code | Linux container |
|Description|win code | win cont | linux code | linux cont |
43
-
42
+
**.cmd**, **.bat**, **.exe** (using Windows cmd)<br>**.ps1** (using PowerShell)<br>**.sh** (using Bash)<br>**.php** (using PHP)<br>**.py** (using Python)<br>**.js** (using Node.js)<br>**.jar** (using Java)<br><br>The necessary runtimes to run these file types are already installed on the web app instance.
**.cmd**, **.bat**, **.exe** (using Windows cmd)<br><br>In addition to these file types, WebJobs written in the language runtime of the Windows container app.<br>Example: .jar and .war scripts if the container is a Java app.
46
+
### [Linux code (preview)](#tab/linuxcode)
47
+
The following file types are supported:
48
+
**.sh** (using Bash) <br><br>In addition to shell scripts (.sh), WebJobs written in the language of the selected runtime are also supported.<br>Example: Python (.py) scripts if the main site is a Python code app.
**.sh** (using Bash) <br><br>In addition to shell scripts (.sh), WebJobs written in the language runtime of the Linux container app are also supported. <br>Example: Node (.js) scripts if the site is a Node.js app.
52
+
---
44
53
### Continuous vs. triggered WebJobs
45
54
46
55
The following table describes the differences between *continuous* and *triggered* WebJobs:
0 commit comments