当我登录计算机时,我需要每周运行一次 .bat。我尝试了几件事,如果我没有登录,那么 .bat 就会失败。但如果我在计划开始时登录,则可以使用。Windows 7 计划任务中的什么设置是一直尝试直到我登录?还是我做错了什么?
我的设置:
GENERAL:
Run only when user is logged on (Yes)
Configure for: Win7, Win Server 2008 R2
TRIGGER:
Begin the task: On a schedule
Weekly (Yes)
Recur Every : 1 weeks on Tues @ 8p
Enabled (Yes)
SETTINGS:
Allow task to be run on demand (Yes)
Run task as soon as possible after a scheduled start is missed (Yes)
If the task fails, restart every... 5 min up to 50 times for 3 days
谢谢!