Bug: SharePoint Timer Job "job-timer-recycle" without function
The last Sebtember 2016 update for SP 2016 has, unfortunately, still a serious bug in the “SPTimerRecyleJobDefinition”. The job is never executed correctly!
public override void Execute(System.Guid targetInstanceId)
Process currentProcess = Process.GetCurrentProcess();
if (System.DateTime.UtcNow.Subtract(currentProcess.StartTime).Minutes < 60)
ULS.SendTraceTag(7436320u, ULSCat.msoulscatWSSTimer, ULSTraceLevel.Medium, "Skipping timer recycle since the process has been running less than 1 hour.");
TimeSpan.Minutes is the Minutes part and can not be greater then 59 (TotalMinutes is correct)! This Job is never executed!!!!
The next Bug is Utc. The Process.StartTime is local time (Kind=local)
Please remove the term review so that you can always restart the timer safely!