Tim Murphy's .NET Software Architecture Blog

SharePoint Timer Job

There are 1 entries for the tag SharePoint Timer Job

Custom SharePoint Timer and ULS

Over the last few months we have been developing custom SharePoint timer jobs. Since the jobs run under a Windows Service it makes it difficult to debug them. The saving grace we found is called ULS. It gives you a logging location that is consistent with the native timer jobs and an API which resembles most other logging frameworks. In order write events you first need to include the Microsoft.SharePoint.Admini... assembly. Then it is simply a matter of getting an instance of a SPDiagnosticsService ......