Is there any free scripts out there that will restart IIS and make sure it does start on restart like once per hour? My website flakes out in IIS and a restart gets it back in shape. I find myself doing this several times a day and I don't know how to diagnose the problem so it would be easier for me to find such script to restart IIS once an hour or so. If you have or know of any scripts that do such, please let me know. Thanks.
I searched for IISRecycle and found it for IIS 5.0. I am on IIS 6.0, so I need to investigate further if it'll work with 6.0. and as for iisreset.exe, will that work on windows 2003 as well? Thanks Huwr and Podge.
Open up your website in IIS by right clicking on it and selecting properties. See which application pool its in by going to the "Home Directory" tab. You'll find the application pool at the bottom of this window. Close the window. Now that you know the application pool you're looking for, go to Application Pools in the main IIS window and right click on the one you want. Select Properties. Tick "Recycle Worker Processes..." and change the value to 60 minutes.
ok, I figurd it out, it was put into the default application pool, I made a new one for itself and put my site on it and set the pool to recycle every 60 min. Thanks podge! Merry Christmas everybody!!!