我正在尝试通过 Windows Server 2008 R2 中的任务计划程序运行 .cmd.我已从服务器计算机管理员组中的用户登录到服务器.运行计划任务时,"上次运行时间"列的值为 (0x1),而状态"已准备就绪.但什么也没发生.运行 .cmd 时只需双击它就可以正常工作.这是服务器中的用户的问题还是什么?有人知道这个问题的解决方案吗?
I am trying to run a .cmd through the task scheduler in windows server 2008 R2.I have logged in to the server from a user who is in the Administrators group in the server machine.When run the scheduled task,the "Last Run Time" column has the value (0x1) while "Status" is ready.and nothing happened. When run the .cmd just double clicking it works fine.Is this an issue with the users in the server or anything ? does anybody know a solution for this issue?
谢谢
推荐答案我建议将Start In..."文件夹设置为应用程序所在的目录.确保它对该目录具有适当的权限.
I'd suggest setting the "Start In..." folder to the directory of where the application is located. Make sure that it has the appropriate permissions for that directory.
这为我解决了问题!
更多推荐
计划任务在 Windows Server 2008 R2 中不起作用
发布评论