Symptom

The DeliverPoint Timer Jobs fail to run, either when started manually or as part of a schedule. There is no error in the UI, nor in the ULS logs.

Resolution

If the AllowServiceJobs setting on your timer service instances is set to False, this will cause the DeliverPoint timer jobs to fail to run. Below are two PowerShell scripts to get the state of the AllowServiceJobs setting and change the setting, respectively.

First, the PowerShell script below can be used to report on the status of the AllowServiceJobs setting:

$farm = Get-SPFarm
$FarmTimers = $farm.TimerService.Instances
foreach ($ft in $FarmTimers)
{
write-host “Server: ” $ft.Server.Name.ToString();
write-host “Status: ” $ft.status;
write-host “Allow Service Jobs: ” $ft.AllowServiceJobs;
}

You can run this from the PowerShell ISE with the SharePoint snap-in added.

If it does turn out that AllowServiceJobs is set to False, you can set it to True for all Timer Service Instances which are currently false by using this script:

$farm = Get-SPFarm
$FarmTimers = $farm.TimerService.Instances
foreach ($ft in $FarmTimers)
{
if ($ft.AllowServiceJobs -eq $false)
{
write-host “Service jobs are NOT enabled on ” $ft.Server.Name.ToString();
write-host “Enabling service jobs”;
$ft.AllowServiceJobs = $true;
$ft.Update();
}
else
{
write-host “Service jobs are enabled on ” $ft.Server.Name.ToString()
}
}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment