利用Batch文件指定时间间隔运行可执行文件
Batch-file to run executable on time interval
@echo off
set INTERVAL=40
timeout %INTERVAL%
:Again
ConsoleApplication1.exe
timeout %INTERVAL%
goto Again
Batch-file to run executable on time interval
@echo off
set INTERVAL=40
timeout %INTERVAL%
:Again
ConsoleApplication1.exe
timeout %INTERVAL%
goto Again