Using SPAllSitesJobDefinition to Process Site by Site


Timer Jobs are commonly used by the SharePoint platform to perform various tasks from maintenance such as cleaning up dead sites and old history to processing ratings and notifications. There is even a Timer Job to recycle the timer service that manages the Timer Jobs (Timer Job Recycle). Developers commonly create, deploy and schedule Timer Jobs to solve business requirements that happen on a schedule or may need to run absent a user or user action. Timer Jobs unlike a Windows Scheduled Task works with the SharePoint farm can easily interact with other parts of the farm making them a better solution for schedule tasks in SharePoint. Continue reading →