如何从命令行重新启动 SharePoint 定时服务?
答案1
净停止“Windows SharePoint Services 计时器”
网络启动“Windows SharePoint Services 计时器”
答案2
SharePoint 2010:
net stop SPTimerV4
net start SPTimerV4
答案3
我意识到 OP 正在请求命令行解决方案,但使用 PowerShell(以管理员身份运行),重新启动计时器服务就像运行一样简单:
restart-service sptimerv4
答案4
对于 SP2010/2013,对所有机器执行此操作:
$farm = Get-SPFarm
$farm.TimerService.Instances | foreach { $_.Stop(); $_.Start(); }