none
win2008 server r2 任务计划不运行 RRS feed

  • 问题

  • 在win2008 server r2,最新补丁, 中运行任务计划。

    调用的bat文件可以手动运行。

    在任务计划中,如果选择“只在用户登录时运行”,也能正常运行。

    但选择“不管用户是否登录都运行时”,表面上启动了任务,运行操作,但实际上没有正常运行。

    下面提及的所有设定,除了第5条,(第5条正是我的问题所在)都正确。

    1) Make sure that the task is set to "configure for Windows Vista or Windows 2008" on the first page of the task properties (under the "general" tab)
    2) Make sure that the task is set to "start in" the folder that contains the batch file: open the task properties, click on the "actions" tab, click on the action and then the "edit" button at the bottom.  In the "Edit Action" Window there is a field for "start in (optional)" that you set to the path to the batch file.
    3) Make sure that the task is running as an account that has explicit "Full access" permissions to all these things:  The .bat file itself,  the folder containing the .bat file, and the target files/folders that are affected by the .bat script.  Inherited permissions didn't seem to work for me.
    4) Make sure that the account running the task is a member of the local "administrators" group for this machine
    5) Make sure that the task is set to "run whether logged on or not"
    6) The Task should run successfully with expected output when you right-click on the task and select "run"  If it does that then it will run successfully when you are logged off.

    请高手指教。

    谢谢

     

    2012年11月7日 5:02

答案