[thelist] ASP - Application never unloads
Scott Dexter
sgd at ti3.com
Thu Jun 1 17:16:45 2000
> -----Original Message-----
> From: Atkins, Chris [mailto:CAtkins@patriothomes.com]
> But... I came up with a different way around it.
>
> Made a batch file, ssiis.bat (start/stop iis), that contained:
>
> ----begin ssiis.bat---
> @echo off
> net stop iisadmin /y
> net start w3svc /y
> ---end ssiis.bat---
>
>
> Then I scheduled it to run night at 2am:
> at 2:00am /every:m,t,w,th,f "c:\ssiis.bat"
>
couple things:
1) make sure the Scheduler service is started. AT won't run without it, and
the service is not running by default
2) throw in the mtxstop command before you go shutting down IIS --this will
prevent you from having a hung server and going to the office at 2am to
reboot the machine
sgd
--
think safely