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 a 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 the 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 - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *