Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure webjobs vs scheduler

A very simple question:
Why would someone use the Azure Scheduler if Azure WebJobs are free?

I couldnt find any topic regarding "azure webjobs vs azure scheduler"

The main difference is that the webjob contains everything that the scheduler can do:

  • Scheduler can make HTTP calls
  • WebJob can do that and more (run SQL commands, etc)
like image 792
sports Avatar asked Mar 17 '14 18:03

sports


People also ask

What is Azure WebJobs used for?

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. There is no additional cost to use WebJobs. You can use the Azure WebJobs SDK with WebJobs to simplify many programming tasks.

What is difference between WebJobs and Azure functions?

Azure Functions offers more developer productivity than Azure App Service WebJobs does. It also offers more options for programming languages, development environments, Azure service integration, and pricing. For most scenarios, it's the best choice.

Is Azure Scheduler deprecated?

I am aware Azure Scheduler is no longer a supported service and has now been deprecated.


1 Answers

The actual scheduling bits of WebJobs are built on top of the scheduler. When you set up a Web Job on a schedule under the hood it uses the scheduler to kick it off. WebJobs provides a nice little location to host the code that gets executed. In fact, if you create WebJobs for a web site look in the Scheduler on the portal and you'll see them listed there as well.

Also note that the scheduler could call out to other systems not running Azure. If you have something running in a Cloud Service that needs to be called regularly, or even if something was hosted elsewhere (another provider or on premises) the scheduler is where you can set that up.

Regarding the cost aspect, there is a free tier to the scheduler as well: http://www.windowsazure.com/en-us/pricing/details/scheduler/.

like image 199
MikeWo Avatar answered Nov 08 '22 11:11

MikeWo