Which Azure App Service feature runs a program or script, such as a PowerShell or Bash script, alongside a web app, either on a schedule or in response to a trigger?
Why
App Service hosts several app styles on shared infrastructure: web apps, API apps, WebJobs and mobile apps. WebJobs run executables or scripts alongside an App Service application, and they can be scheduled or triggered. This makes them suitable for background processing that is part of the application logic.
- Not correct: Mobile Apps. Mobile Apps provides back-end capabilities for mobile applications. WebJobs is the feature used to execute scheduled or triggered background scripts alongside an app.
- Not correct: Web apps. Web apps host the website. WebJobs run background programs alongside it.
- Not correct: API apps. API apps expose REST-based APIs to HTTP or HTTPS clients. WebJobs provide scheduled or triggered background execution alongside those apps.
- Correct: WebJobs. WebJobs execute background programs and scripts alongside an App Service application. Execution can follow a schedule or respond to a trigger.
- Not correct: Git deployment. Git deployment publishes application changes from a repository. WebJobs run background programs alongside the deployed application.
Source