前言
最近碰到需要修改计时器任务的需求,然后搜了搜,发现有powershell命令可以搞定,记录一下。
$timerJob = Get-SPTimerJob -Identity "DocIDEnable"
Set-SPTimerJob -Identity $timerJob -Schedule "Daily at 18:00:00"
引用链接:
https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/set-sptimerjob?view=sharepoint-ps