Change Timer Job Schedule in SharePoint using PowerShell

Requirement:  Change timer job schedule in SharePoint for “User Profile Service Application – Activity Feed Job”.

How to Change Timer Job Schedule in SharePoint?

To Set SharePoint timer job schedule, follow these steps:

  • Go to the Central Administration >> Monitoring >> Timer Job >> Review job definitions
  • Find “User Profile Service Application – Activity Feed Job”, 
  • In the Edit Timer job page, set up the activity feed sync time according to your needs. By default, it’s set to run for every 10 Minutes.
    sharepoint timer job schedule powershell

SharePoint PowerShell to change timer job schedule

SharePoint 2013 timer job schedules can be set through the Set-SPTimerJob cmdlet. Here is the PowerShell script to change timer job schedule.

#Timer job Display name 
$TimerJobName="User Profile Service Application - Activity Feed Job"

#Get the Timer job
$TimerJob = Get-SPTimerJob | Where-Object { $_.displayname -like $TimerJobName }

#Set sharepoint timer job schedule powershell
Get-SPTimerJob $TimerJob | Set-SPTimerJob -Schedule "Every 5 minutes between 0 and 59"

Write-host "Timer Job Schedule updated!" -ForegroundColor Green

This script sets the timer job schedule to 5 minutes!

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply