In this PnP Web Cast we concentrated on how to build scheduled or on-demand tasks with add-in model. This refers to the model around how to perform similar tasks as with the classic SharePoint server side timer jobs. We talk about the model using few slides and introduce PnP Remote Timer Job framework, which is help on building remote timer jobs, which are operating towards SharePoint or Office 365 sites and site collections. PnP Remote Timer Job framework supports easier targeting of sites, logging, multi-threading and numerous other things, which you can take advantage just by adding reference to PnP Core Component Nuget package.
Patterns around the remote timer jobs are also covered in Module 5 of PnP transformation training titled as "Using Remote Event Receivers and Remote Timer Jobs".
Code sample used in the video is called Core.TimerJobs.Samples, which demonstrates the usage of PnP Timer Job framework.
See following for additional documentation around the PnP Timer Job Framework
See following samples from the PnP library for additional reference around the covered topics.
- Core.TimerJobs.Samples - Reference solutions around the framework
- Governance.TimerJobs - Governance timer jobs build using the framework
- Governance.SiteUsageReport - Does not use PnP timer job framework, but shows remote timer jobs in general
- Governance.ContentTypeEnforceRetention - Does not use PnP timer job framework, but shows remote timer jobs in general
- Core.SimpleTimerJob - Most simplistic demo remote timer job, which does not use PnP timer job framework. There's also separate video for this sample, showing how it works in practice.
If you have any feedback or comments related on this web case, please use the Office 365 Developer Patterns and Practices Yammer group to provider your input. Thx for your interest advance.