Board index » Web Programming » IIS State as Schedules Task
|
Mstevenson
|
|
Mstevenson
|
IIS State as Schedules Task
Web Programming101
Why doesn't the following work in scheduler? Is my syntax incorrect? "C:\winnt\system32\cmd.exe C:\iisstate\iisstate -p 3204 -hc" - |
| Jerry
Registered User |
Thu Nov 20 02:20:01 CST 2003
Re:IIS State as Schedules Task
Do you REALLY think IIS will always have the same process id?
Jerry "ja" <na@noemail.com>wrote in message QuoteWhy doesn't the following work in scheduler? Is my syntax incorrect? - |
| ja
Registered User |
Thu Nov 20 08:20:04 CST 2003
Re:IIS State as Schedules Task
No of course not, but it will as long as it is not restarted and that is all
that matters. The only way to run IISState on a server that you control via TS is by configuring it as a scheduled task. The process will first change after IIS crashes and then I have the info I need. "Jerry III" <jerryiii@hotmail.com>wrote in message QuoteDo you REALLY think IIS will always have the same process id? - |
| Jerry
Registered User |
Thu Nov 20 10:38:55 CST 2003
Re:IIS State as Schedules Task
But iisstate is nothing but a simple debugger and it will take IIS down
every time it runs. So it will get a new process id after the first run (you can't detach a debugger in Win32). If you want to get the info at a crash time you need to setup iisstate as a debugger for that process so it's called when it crashes. And I'm not sure if you can setup a debugger on a per-process basis. Jerry "ja" <na@noemail.com>wrote in message QuoteNo of course not, but it will as long as it is not restarted and that is - |
| ja
Registered User |
Thu Nov 20 11:25:15 CST 2003
Re:IIS State as Schedules Task
In my case it only takes IIS down when there is a hard crash (I have set
the -hc attribute) and when that happens IIS restarts anyway. My IIS crashes aproximately once every 24 hours and I suspected a DLL that I have installed, but just wanted to confirm it. I actually got lucky and confirmed my suspision by logging on with my servers RAC and staying logged on while running IIS State on the process in question. "Jerry III" <jerryiii@hotmail.com>wrote in message QuoteBut iisstate is nothing but a simple debugger and it will take IIS down - |
