Re: Task Scheduler flaky in Win2003
From: Jon Brammeier (anonymous_at_discussions.microsoft.com)
Date: 09/27/04
- Next message: Scott McDonald: "Re: roaming profile issues..."
- Previous message: Tom Sawyer: "RE: Opening files off the server share takes for ever!"
- In reply to: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Next in thread: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Reply: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 09:47:44 -0700
Well, let's see. The server is plugged into the wall. The
power is on. Fifty users access each of these servers 14
hours a day. Other applications on the servers seem to
work pretty well. These applications work flawlessly 14
hours a day . except when running from the Task
Scheduler, but only occasionally "freezing". VB6 apps
running through TS have worked flawlessly in this
environment for the past 3 years. This only seems to
occur with .NET 2003 executables running on Windows 2003
servers going through TS. Are you saying that a .NET app
is not reporting to the OS when its process ID has gone
out of scope?
>-----Original Message-----
>
>"Jon Brammeier" <jon.brammeier@fctg.com> wrote in message
>news:0c4801c4a26b$52827be0$a501280a@phx.gbl...
>> We run several executables through the task scheduler
on
>> our production servers on a regular basis. Most of them
>> are set to go off every 5 minutes throughout the day.
>> Recently, after moving some of the servers to Server
>> 2003, we have noticed that occasionally the task will
>> appear to hang. The scheduler shows it is still
running,
>> but task manager shows that it is not. You can't End
Task
>> because it isn't running. You have to restart the Task
>> Scheduler service. It seems random, but it's VERY
>> annoying.
>
>Before stating that the Task Scheduler is flaky, you
>should run some basic diagnostics, e.g. like so:
>
>@echo off
>echo %date% %time% Start of task >> c:\test.log
>echo User=%UserName%, Path=%path% >> c:\test.log
>c:\Tools\YourTask.exe 1>>c:\test.log 2>>c:\test.err
>echo %date% %time% End of task >> c:\test.log
>echo ====================>> c:\test.log
>
>After examining the two log files you might find that
>the flakiness is somewhere else . . .
>
>
>.
>
- Next message: Scott McDonald: "Re: roaming profile issues..."
- Previous message: Tom Sawyer: "RE: Opening files off the server share takes for ever!"
- In reply to: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Next in thread: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Reply: Pegasus \(MVP\): "Re: Task Scheduler flaky in Win2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|