sp;“&now
Do
Set objLatestEvent = colMonitoredEvents.NextEvent
Wscript.Echo “重新启动iis “&now
Set objShell = CreateObject(“Wscript.Shell“)
objShell.Run “%COMSPEC% /c IISRESET.EXE“,,1
’------核心程序,呵呵,短吧,wmi万岁
whichfile=(“iisresetlog.htm“)
set fso=createobject(“scripting.FileSystemObject“)
if Not fso.FileExists(whichfile) then
iomode=2 : create=true
’Set 页码:[1] [2] [3] [4] [5] [6] 第5页、共6页 |