Let’s think for a minute about how we run a background task on on-premise systems. Two things that certainly came to your mind are SQL Jobs and Windows Services. Unfortunately, if you think about the Azure as a “Platform as a Service” then I have a bad news for you because SQL Jobs and Windows Services aren’t supported under this setup.
In previous blog session “Run continuous or triggered background task with WebJobs in Azure (part 1)” we’ve talked about a WebJobs in general and we have shown an example of a Continuous running WebJobs by using Timer function. We have also mentioned that we could use a WebJobs for Queue processing or File maintenance operations.