Blog

Bizdirect logo
Monday, 22 August 2016
How to create a Timer Job in SharePoint Online
article written by bizdirect
With the bet that Microsoft is doing in SharePoint Online and the strong adoption we are witnessing by the market, comes a need to reproduce some of the functionalities that we are accustomed to using in On-Premise scenarios, to Online scenarios. Timer Jobs are one of these examples.

And what are Timer Jobs? Timer Jobs are a set of instructions or logic code that runs automatically and periodically according to a given configuration.
In SharePoint On-Premise, when necessary to develop a Timer Job, you must perform the following steps:

1. Create a SharePoint type project;

2. Create a class, which defines the code that the Timer Job will run;

3. Create a feature, in charge of registering the Timer Job;

4. Compile a package and deploy it to the SharePoint Farm.

In SharePoint Online, you cannot deploy packages of code like you do in SharePoint On-Premise. The alternative to this limitation involves the implementation of Azure WebJobs.

This approach implies the existence of an active Microsoft Azure subscription, essential to support the implementation of the WebJob code and the corresponding interaction with SharePoint Online.

Running WebJobs does not originate additional costs for your client in their Azure portal and they can be executed in three ways: manually, continuously, or on a scheduled date.

The development process of a WebJob, which runs in a SharePoint Online context, involves the following steps:

1. Provide a Service Account that the Azure WebJob will use to communicate with SharePoint Online;

2. Create a Console Application (you can use .cmd, .bat, .exe, .ps1, among others) which defines the code that the WebJob will run;

3. Publish the Application Console in the Azure WebJob.

In a scenario where a company needs to move their business processes and enterprise information from On-Premise to Online, you can keep the business logic previously developed through Timer Jobs via its re-implementation to WebJobs.

At Bizdirect, we can help you with your evolution needs to SharePoint Online optimizing the costs inherent to the use of your Azure infrastructure.

Learn more about the details associated with the development of these functionalities in SharePoint Online and Azure.

CONTACT US!
arrow_upward

Bizdirect Cookie Policy

Bizdirect website uses data gathering elements called cookies, that aim to maintain the correct functioning of the website, content and advertising customisation, provide social media functionalities, as well as a complete traffic analysis with the main goal of optimising your experience.

Know more about Bizdirect and the way we process your data, reading our Privacy Policy.
Cookie management
Bellow we show you the groups of cookies we gather, which you should choose according to your preferences. You can change or remove your cookies permissions at any moment.

Used for storing each relevant current session configuration, namely, your language preferences.

Used for measuring the speed performance of the website and for collecting information related to which pages have more or fewer visits in order to help improve content for all website users in general.

Used for collecting information regarding exactly through which advertising campaign the user came from and which content the user prefers.

Know more about Bizdirect and the way we process your data, reading our Privacy Policy.
Google Analytics Alternative