使用 Windows 任务计划程序每 x 分钟运行一次任务 [英] Run a task every x-minutes with Windows Task Scheduler

查看:115
本文介绍了使用 Windows 任务计划程序每 x 分钟运行一次任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让 Windows 任务计划程序每 10 分钟左右运行一次特定的 .exe,但这些选项只允许每天执行一次.

I'm trying to get Windows Task Scheduler to run a particular .exe every 10 minutes or so, but the options only allow for once a day execution.

有没有办法让它每 10 或 20 分钟运行一次 .exe?

Is there a way I can get it to run a .exe every 10 or 20 minutes?

推荐答案

必须分两步配置任务.

首先,您创建一个简单的任务,每天从 0:00 开始.然后,您进入 Advanced...(或类似的,取决于您使用的操作系统)并选择 Repeat every X minutes 选项 24 小时.

First you create a simple task that start at 0:00, every day. Then, you go in Advanced... (or similar depending on the operating system you are on) and select the Repeat every X minutes option for 24 hours.

这里的关键是找到高级属性.如果您使用 XP 向导,它只会在您创建任务后提供启动高级对话框.

The key here is to find the advanced properties. If you are using the XP wizard, it will only offer you to launch the advanced dialog once you created the task.

在更新版本的 Windows 上(我认为是 7+):

On more recent versions of Windows (7+ I think?):

  1. 双击任务,将显示一个属性窗口.
  2. 点击触发器标签.
  3. 双击触发器详细信息,将显示编辑触发器"窗口.
  4. Advanced settings面板下,勾选Repeat task every xxx 分钟,并根据需要设置无限期.
  5. 最后,点击确定.
  1. Double click the task and a property window will show up.
  2. Click the Triggers tab.
  3. Double click the trigger details and the Edit Trigger window will show up.
  4. Under Advanced settings panel, tick Repeat task every xxx minutes, and set Indefinitely if you need.
  5. Finally, click ok.

这篇关于使用 Windows 任务计划程序每 x 分钟运行一次任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆