1.创建任务

 在每天的22.44定时执行一次。

schtasks /create /tn "test3" /tr "F:\test.bat" /sc daily /st 22:44

 在特定时间运行一次。

schtasks /create /tn "test3" /tr "F:\test.bat" /sc once /st 23:03 /sd 2018/03/05

2.运行一次任务

 创建任务后,立即运行一次。

schtasks /run /tn test3

3.删除任务

 任务不准备用时,删除任务。

schtasks /delete /tn test3

 

相关文章:

  • 2021-10-03
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
猜你喜欢
  • 2021-07-09
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-12-07
相关资源
相似解决方案