Guest MAdrox Posted November 12, 2007 Posted November 12, 2007 Hope this is the right group, if not let me know. I have a need to schedule routine restarts of IIS on several 2003 servers. The main reason is crap code but thats not scheduled to be worked on until after the new year, got to love priorities. The bandaid fix is to restart IIS daily which is no issue if I'm here. But I wont schedule my weekends around having web access just to do this. So does anyone know of a program\method\etc to schedule a service like IIS to restart every (lets say) 12 or 24 hours? Thanks for your time! Keith
Guest Chris M Posted November 12, 2007 Posted November 12, 2007 Re: schedule service restart MAdrox wrote: > Hope this is the right group, if not let me know. > > I have a need to schedule routine restarts of IIS on several 2003 > servers. The main reason is crap code but thats not scheduled to be > worked on until after the new year, got to love priorities. The > bandaid fix is to restart IIS daily which is no issue if I'm here. But > I wont schedule my weekends around having web access just to do this. > > So does anyone know of a program\method\etc to schedule a service like > IIS to restart every (lets say) 12 or 24 hours? > > Thanks for your time! IISRecycle is designed for your situation. If your webservers are part of a windows load balanced group, it'll even drain and remove the server from the group before restarting IIS. http://technet.microsoft.com/en-gb/library/Bb742400.aspx However, I've just noticed that IIS Recycle is designed for IIS 5 and not 6. There must be an IIS6 equivalent for this somewhere. Dunno what it is, but that might give you a starting point for searching for it. Cheers, -- Chris.
Guest MAdrox Posted November 12, 2007 Posted November 12, 2007 Re: schedule service restart On Nov 12, 8:59 am, Chris M <nob...@nowhere.special> wrote: > MAdrox wrote: > > Hope this is the right group, if not let me know. > > > I have a need to schedule routine restarts of IIS on several 2003 > > servers. The main reason is crap code but thats not scheduled to be > > worked on until after the new year, got to love priorities. The > > bandaid fix is to restart IIS daily which is no issue if I'm here. But > > I wont schedule my weekends around having web access just to do this. > > > So does anyone know of a program\method\etc to schedule a service like > > IIS to restart every (lets say) 12 or 24 hours? > > > Thanks for your time! > > IISRecycle is designed for your situation. If your webservers are part > of a windows load balanced group, it'll even drain and remove the server > from the group before restarting IIS. > > http://technet.microsoft.com/en-gb/library/Bb742400.aspx > > However, I've just noticed that IIS Recycle is designed for IIS 5 and > not 6. There must be an IIS6 equivalent for this somewhere. Dunno what > it is, but that might give you a starting point for searching for it. > > Cheers, > > -- > Chris. Many thanks! Its definitely a better starting point then I had previously. If I find anything for iis6 I'll post it as well. Thanks again! Keith
Recommended Posts