【发布时间】:2012-02-22 22:29:44
【问题描述】:
我创建了一个 Windows 任务并计划每 1 小时运行一次。
任务每小时运行一次,但收到警告 Task Scheduler did not launch task "\Sample Task" because computer is running on batteries. User Action: If launching the task on batteries is required, change the respective flag in the task configuration. 并且任务提前退出。
我正在使用SCHTASKS.exe 创建任务,因为我需要创建从表单获取用户输入的任务。
使用我要删除电源选项的命令。 这可能吗?
【问题讨论】:
标签: windows scheduled-tasks windows-task-scheduler