Author : MD TAREQ HASSAN | Updated : 2020/10/09

What is WebJob?

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, API app, or mobile app.

In their simplest form, Azure WebJobs allow you to write background code that executes in the context of your web application or website. That means they’re not dependent on user interaction, but they are able to access the file system and other things that are available to your website.

See details: Azure App Service WebJobs

Console app as webjob

Job Settings

settings.job (To execute job in every 5 minutes)

{
  "schedule": "0 */5 * * * *"
}