In this post we will discuss about the PowerShell command for scheduling user profile timer job. Also you can check out:
– Promoted Links App in SharePoint 2013
– Content databases are growing too large in SharePoint 2013
– SharePoint 2013 workflow architecture
Get-SPTimerJob is used to return timer jobs.
Get-SPTimerJob returns all the timer jobs with Name, Schedule and Last Run.
Get-SPTimerJob UserProfile_ProfileImportJob | Set-SPTimerJob -Schedule “weekly between sun 12:00:00 and wed 12:00:00” | Start-SPTimerJob
Specifies the schedule for running the timer job.
The type must be a valid SharePoint Timer service (SPTimer) schedule in the form of any one of the following schedules:
Every 5 minutes between 0 and 59
Hourly between 0 and 59
Daily at 15:00:00
Weekly between Fri 22:00:00 and Sun 06:00:00
Monthly at 15 15:00:00
Yearly at Jan 1 15:00:00