我自己写了一段如下-
do
set ws=createobject("wscript.shell")
ws.run"123.exe"
wscript.sleep 36000
ws.run "taskkill /im 123.exe /f",vbhide
loop
问题是好像程序运行的时间间隔和进程部运行的时间间隔一样-
能不能让程序运行10分钟后马上结束然后继续运行起来呢?谢谢
这样成不成?谢谢
do
set ws=createobject("wscript.shell")
ws.run"123.exe"
wscript.sleep 360000
ws.run "taskkill /im 123.exe /f",vbhide
wscript.sleep 360
loop
[ Last edited by wangweihebtu on 2008-9-25 at 10:09 AM ]
do
set ws=createobject("wscript.shell")
ws.run"123.exe"
wscript.sleep 36000
ws.run "taskkill /im 123.exe /f",vbhide
loop
问题是好像程序运行的时间间隔和进程部运行的时间间隔一样-
能不能让程序运行10分钟后马上结束然后继续运行起来呢?谢谢
这样成不成?谢谢
do
set ws=createobject("wscript.shell")
ws.run"123.exe"
wscript.sleep 360000
ws.run "taskkill /im 123.exe /f",vbhide
wscript.sleep 360
loop
[ Last edited by wangweihebtu on 2008-9-25 at 10:09 AM ]
