minutes with Windows Task Scheduler
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.
Is there a way I can get it to run a .exe every 10 or 20 minutes?
The task must be configured in two steps.
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.
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.
On more recent versions of Windows (7+ I think?):
Triggers
tab. Advance settings
panel, tick Repeat task every
xxx minutes, and set Indefinitely
if you need. 选择最小重复选项(5分钟或10分钟)后,您可以突出显示该数字并编写任何您想要的数字
如果您需要调用之间更精细的粒度,则还可以创建类似以下的批处理文件:
:loop
CallYour.Exe
timeout /t timeToWaitBetweenCallsInSeconds /nobreak
goto :loop
链接地址: http://www.djcxy.com/p/6630.html
上一篇: 在Java Web应用程序中处理重复后台任务的策略?
下一篇: 与Windows任务计划程序分钟