Tuesday, January 21, 2020

Azure Web Job

Web job is a process that runs in the background. It complements the main application. In other words, it is supporting mechanism to an existing application.

There are 2 types of Web Jobs:

  1. Continuous Web Job
  2. Triggered Web Job

Continuous Web Job runs until it stopped.
Triggered Web Job will only run when triggered.

Triggered Web Job can start in 2 ways:
  1. Manual
  2. Scheduled

Observations:
  • Web job can be configured on any existing Azure App Service (Web App or Web Api)
  • Web job supports .exe, .ps, .cmd etc.
  • Dotnet framework console application can be configured as Web Job
  • By default, dotnet core console project output is dll. Hence may not be able to configure directly
  • Web job can be scheduled using CRON expressions

No comments: