Hi all. I just want to make my life easier and want my machines to do all of my schedule tasks. Don’t you?
To manage schedule tasks, the machine has to be on for 24 hours, 7 days a week, and Azure Scheduler offers that service.
This article covers how to manage all schedulers on your account programmatically.
Here is the URL of the service.
And here is the documentation url.
I this article I ll covering following topics in order,
1. What is Azure Scheduler
2. Creating Scheduler account from the portal.
3. Working with Scheduler API
so, first thing first, what is Azure Scheduler? (or if you want to jump to working Scheduler API, pls do so)
You can read full article at
or read on for my shorter version.
Azure Scheduler invokes via HTTP, HTTPS, a storage queue, a service bus queue, or a service bus topic.
This couldn’t get shorter so I m just quoting.
Scheduler schedules jobs, keeps a history of job execution results that one can review, and deterministically and reliably schedules workloads to be run. Azure WebJobs (part of the Web Apps feature in Azure App Service) and other. Azure scheduling capabilities use Scheduler in the background. The Scheduler REST API helps manage the communication for these actions. As such, Scheduler supports complex schedules and advanced recurrence easily.
Scheduler allows you to create, update, delete, view, and manage jobs and job collections programmatically, by using scripts, and in the portal.
And this is what we do here on this article.
OK. You will first need an account, and we create that at portal. Go log-in your portal. https://portal.azure.com/
Please create new service by going to the top left +New link, and search for Scheduler.
The description says;
Invoke actions such as calling HTTP/S endpoints or posting a message to a storage queue on any schedule. With Microsoft Azure Scheduler, you create jobs in the cloud that reliably call services both inside and outside of Microsoft Azure and run those jobs on demand or on a regularly recurring schedule, or designate them for a future date. This service is currently available as a standalone API.
sounds great, please click on create, the it prompts you on input form where you have to specify name of Scheduler , which subscription you want it under, and configure, job collection, action settings, schedule. Most of them are just self explanatory. You don’t have to spend too much time here creating your first schedule. We will be managing it via API later.
After you fill in all things you have to, wait for few minutes, the service is deployed under your account, and should get screen like below.
Now you are all set, and ready to start coding.