Getting Started with SharePoint 2013 development: Timer tasks

Source: Internet
Author: User

The SharePoint Timer task, also known as Timerjob, is performed by the timer service in the service, managed in central administration, and is a feature similar to the Windows Task Scheduler, which performs some of the required functions on a regular basis to avoid impacting server performance.

In the development of SharePoint 2013, many times I will choose 2013 of empty items, convenient to add later, perhaps the problem of personal habits, is not a good habit, or hope that everyone in the development of their own experience.

1, add new items, select SharePoint 2013 empty items, as shown below

2, select the field solution, the following figure:

3, add class file, named CustomTimerJob.cs, this is the Timer task class:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.