top of page

How To Configure The Scheduled WebJob In The Azure Scheduler Page

Updated: Mar 29, 2019

Introduction

In SharePoint 2010/2013 On premise, we have timer jobs, which performs repetitive, scheduled tasks. For example, you may need a timer job to fetch Sharepoint list items and send them as reports on daily basis. This timer job can be created as a farm solution and can be deployed in SharePoint 2010/2013 On Premise Server whereas in SharePoint Online, you are not allowed to deploy the farm solutions. To overcome this, you can create Azure WebJobs, which act as scheduled timer jobs for SharePoint Online.

In my previous article,

You have learned how to create a scheduled WebJob for SharePoint 2013 Online, using the Azure Scheduler.

In this article, you will learn how to configure the scheduled WebJob in the Azure Scheduler page.

Prerequisites

  1. Visual Studio 2013 or latest versions.

  2. Office 365 Site. If you don’t have Office 365 site, please try trial version.

  3. Access to Azure Portal. If you don’t have Azure account, please try trial version.

  4. How to create Azure Webjob For Sharepoint 2013 Online

Create the Zip file for your WebJob

  • In Solution Explorer, right click the project and click “Open Folder in File Explorer”.



















  • Copy all the output files from bin/Debug or bin/Release folder and create the zip file.





















Configure the Scheduled WebJob

  • Navigate to classic Azure Portal.

  • In the left navigation, click Web apps and subsequently click on the existing Azure Website.


  • Click WEBJOBS.







  • Click ADD.











  • Enter Name, upload the zip file which you have created and select Run on a schedule option from How to Run drop down. Select Scheduler Region.













  • Define a schedule, based on your requirements, as shown below. Click Complete button.



















  • A scheduled WebJob was added successfully, as shown below:


  • Click Logs for the newly added WebJob and you are able to see the WebJob run details.


Summary:

Thus in this article, you have seen how to configure the scheduled WebJob in the Azure Scheduler page.

0 comments
bottom of page