Jul 6, 2006 #1 MikeV42 Technical User Joined Jun 30, 2006 Messages 1 Location US I have been looking for a script that will allow me to 1) check my website 2) if it is not available do an IISreset I have never used VBS before.
I have been looking for a script that will allow me to 1) check my website 2) if it is not available do an IISreset I have never used VBS before.
Jul 6, 2006 #2 markdmac MIS Joined Dec 20, 2003 Messages 12,340 Location US You can easily handle the IIS reset like this: Code: set wshshell = createobject("wscript.shell") wshshell.run("cmd.exe /c iisreset") For checking if the site is alive or not there are many programs out there that do this. I hope you find this post helpful. Regards, Mark Check out my scripting solutions at http://www.thespidersparlor.com/vbscript Upvote 0 Downvote
You can easily handle the IIS reset like this: Code: set wshshell = createobject("wscript.shell") wshshell.run("cmd.exe /c iisreset") For checking if the site is alive or not there are many programs out there that do this. I hope you find this post helpful. Regards, Mark Check out my scripting solutions at http://www.thespidersparlor.com/vbscript