Download presentation
Presentation is loading. Please wait.
Published byCameron Lee Modified over 9 years ago
2
Agenda
3
Principal Consultant, SharePoint Development Team Lead John Ramminger Linked In: http://linkedin.com/in/JohnRamminger http://linkedin.com/in/JohnRamminger Twitter: @JohnRam Email:JohnR@Intellinet.com
4
Timer Job Overview Scheduled tasks that run in the background of a SharePoint Farm Can be run scheduled to run from once to yearly Microsoft.SharePoint.SPDailySchedule Microsoft.SharePoint.SPHourlySchedule Microsoft.SharePoint.SPMinuteSchedule Microsoft.SharePoint.SPMonthlySchedule Microsoft.SharePoint.SPDailySchedule Microsoft.SharePoint.SPHourlySchedule Microsoft.SharePoint.SPMinuteSchedule Microsoft.SharePoint.SPMonthlySchedule Microsoft.SharePoint.SPYearlySchedule Microsoft.SharePoint.SPYearlySchedule Microsoft.SharePoint.SPOneTimeSchedule Microsoft.SharePoint.SPOneTimeSchedule Can be pinned to one server in a farm or allowed to run on all application and web front end servers. Have built in administration pages to monitor and update the timer jobs and their schedules. Run under one windows process called OWSTIMER.EXE
5
Custom SharePoint Timer Job Examples Synchronize Data Between SharePoint and External Systems or other SharePoint Farms Complete processes that run to long to complete via other methods (site provisioning, multiple workflows ) Start Workflows based on item state or time stamp Cleanup items that need to be removed. (Cache Document Library) Notification System that is based on custom queries to only notify users when specific criteria is met, rather than every time an item is updated.
6
Timer Job Example Overview Custom Timer Job and Configuration List allows for customization by the SharePoint Administrator. Uses common components to ensure flexibility. Custom Notifications and Recycling of Items. Application Page allows for easy debugging of solution.
7
Time for the Good Stuff! Code DEMO and Walk Through
8
Tools Used in Demo Example These tools allow me to increase my productivity and decrease my frustration when developing for SharePoint. SharePoint Log Viewer: http://sharepointlogviewer.codeplex.com/ CKSDEV: http://bit.ly/1aF2EhL CodeRush : https://www.devexpress.com/Products/CodeRush/ SharePoint Manager: http://spm.codeplex.com/ Code Rush Alternative: AutoHotKey
9
Hints for SharePoint Farm Development Merge-SPLogFile
10
Q&A Time John Ramminger (JohnR@Intellinet.Com)JohnR@Intellinet.Com @JohnRam on Twitter Download the Example Timer Solution Here: http://sdrv.ms/1e83UgQ http://sdrv.ms/1e83UgQ Thank you for your time!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.