TimerJobHistory表和作业删除作业历史计时器作业 [英] TimerJobHistory Table and job-delete-job-history Timer Job
问题描述
我已经选择了SharePoint 2013实例的管理,并注意到TimerJobHistory表很大(这会对可用存储造成压力)。在进一步调查中,作业删除作业历史任务已经运行了2年多。
已经尝试过多个脚本来使其工作,包括一次几天逐步清除日志的脚本。
这些操作都没有起作用似乎相关的计时器工作似乎不想工作。
有关所有其他计时器工作正在运行的信息,我已清除缓存。
有关如何克服此问题的任何想法?
干杯
您好mchinds,
创建新服务器场时,默认情况下会配置计时器作业"job-delete-job-history"。它可以通过以下命令恢复:
farm = Get-SPFarm
< blockquote> farm.TimerService.EnsureDefaultJobs()
然后对特定的Web应用程序运行以下命令:
Hi,
I have picked up management of an instance of SharePoint 2013 and noticed that the TimerJobHistory table is huge (which is putting a strain on the available storage). On further investigation the job-delete-job-history task has not run for over 2 years. Have tried multiple scripts to get it to work, including the one which gradually purges the log a few days at a time.
None of these actions have worked and it seems like the relevant timer job just doesn't want to work.
For information all other Timer Jobs are working and I have cleared the cache.
Any ideas on how to overcome this?
Cheers
解决方案Hi mchinds,
Timer job "job-delete-job-history" is configured by default when a new farm is created. It can be restored by running command below:
farm = Get-SPFarm
farm.TimerService.EnsureDefaultJobs()
Then run the command below for specific web application:
这篇关于TimerJobHistory表和作业删除作业历史计时器作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!