How to Run Scheduler Using Microsoft Azure?

Running a scheduler for repeat actions will save tons of your time and make you and your team more efficient and productive. Microsoft Azure unlocks many developmental capabilities, but let us learn how to use Microsoft Azure for running a scheduler.

Use Scenario: Imagine a situation where there is lot of junk files being created on your system which causes its slowdown and results in poor productivity. With great difficulty you have developed an exe which will clean up the junk files within a minute and restores your system performance. But, here is the challenge you need to run it daily or whenever you feel the system has slowed down. But what if the exe is executed automatically? Doesn’t that sound amazing? Yes it is. Running a scheduler using Microsoft Azure can solve this problem. See the procedure below.

   1. Log into Microsoft Azure account with valid credentials.

   2. Navigate AppServices --> mtccrm --> WebJobs --> +Add as shown below

Note: You can add your own App Service using +Add. In the above image, we took mtccrm for reference.

    3. Click +Add to add a new webjob. Webjob window appears as shown below.

Name: Enter the name of the webjob.

File Upload: Upload the zip file that contains the exe. (In case if the exe has the credentials to be configured then you are required to do it before uploading the zip file).

Type: It can be continuous or triggered.

  • If you select triggered then you should select the appropriate triggers. The format in which you should input the time frequency is * 0/* * * * *.
  • First star (*) represents seconds, Second Star represents minutes, Third Star represents hours, Fourth Star represents days, Fifth Star represents weeks, and Sixth Star represents months.

Let us take a sample zip file named as Debug_Azure_Scheduler and name of the webjob as Mission. See the image below.

  • If you select the type as Continuous then you will be able to select the Scale either as Multi Instance or Single Instance.

A webjob with the given parameters will be created and displayed in the dashboard as shown below.

   4. Select the newly created webjob and click Run button on the ribbon as shown below.

A dialog box pops up. Click Yes.

You will get a successful message.

Now click Logs button on the ribbon.


You can see the list of webjobs run by you and their status.

Click on the webjob to dive deep into the details.

All the junk files on your system will be cleaned automatically. Likewise, you can run scheduler using Microsoft Azure for different use scenarios to save time and enhance your productivity.

Want to discuss about Microsoft Azure Implementation for your daily use? Write to us at