Tag Info

New answers tagged

0

The problem is that the farm was on few machines, so the one on which the project was deployed, wasn't the one on which it worked


0

Try these lines to write on the Log file: SPDiagnosticsService.Local.WriteTrace(0, new SPDiagnosticsCategory("Your Category", TraceSeverity.High, EventSeverity.Information), TraceSeverity.High, "My log text");


1

While Kjetil Gullen's and Paul Schaeflein solutions will work fine for completed tasks (succeeded or aborted for some reason), the entries for the currently running jobs are not yet present in the JobHistoryEntries. You can include running jobs in your check by using the RunningJobs property of SPService (for all jobs running under a SharePoint service) or ...



Top 50 recent answers are included