Board logo

标题: [日期时间] 批处理 at 命令如何让程序每两小时运行一次? [打印本页]

作者: 业鹏实实    时间: 2015-7-12 21:24     标题: 批处理 at 命令如何让程序每两小时运行一次?

如何用at命令让我的程序每两小时运行一次   net start schedule 是否开启服务
作者: CrLf    时间: 2015-7-12 21:56

计划任务 schtasks /?
作者: /zhqsystem/zhq    时间: 2015-7-12 22:33

回复 1# 业鹏实实


    有两小时运行这个参数吗,没找到,AT太古老了还是用二楼的方法吧
作者: CrLf    时间: 2015-7-12 23:53

回复 3# /zhqsystem/zhq


    没有,但可以用 12 个 at 模拟
作者: kingshui    时间: 2015-7-13 15:19

可以自己手动建 一个计划任务,然后导出xml,手动修改时间为每2小时运行。
  1.       <Repetition>
  2.         <Interval>PT2H</Interval>
  3.         <StopAtDurationEnd>false</StopAtDurationEnd>
  4.       </Repetition>
复制代码





欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2