如何启用 Windows Server 任务计划程序历史记录? [英] How can I enable the Windows Server Task Scheduler History recording?

查看:88
本文介绍了如何启用 Windows Server 任务计划程序历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行计划任务的 Windows Server 2008,主要是调用 PHP 文件的 .bat 文件.我在服务器上有 2 个用户,一个是管理员,另一个是标准用户.

I have a Windows Server 2008 with scheduled tasks running, mainly .bat files calling PHP files. I have 2 users on the server, one Admin and the other is a Standard user.

我使用标准用户使用事件查看器清除任务计划程序历史记录选项卡中的历史记录.现在它不会再记录任何历史.所有计划任务在历史记录选项卡中不再有历史记录.但是,上次运行结果返回 0x0,调度程序工作正常.
请指教.

I used the Standard User to clear the history log in the Task Scheduler History tab using the Event Viewer. Now it won't record any history anymore. All of the scheduled tasks no longer have history in the History tab. However, the Last Run Result returns 0x0 and the schedulers are working fine.
Please advise.

推荐答案

步骤 1:打开提升的任务计划程序(即右键单击任务计划程序图标并选择以管理员身份运行)

Step 1: Open an elevated Task Scheduler (ie. right-click on the Task Scheduler icon and choose Run as administrator)

第 2 步:在操作窗格(右侧窗格,不是操作标签)中,点击启用所有任务历史记录

Step 2: In the Actions pane (right pane, not the actions tab), click Enable All Tasks History

就是这样.不确定为什么默认情况下不启用此功能,但事实并非如此.

That's it. Not sure why this isn't on by default, but it isn't.

这篇关于如何启用 Windows Server 任务计划程序历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆