Re: Task Scheduler flaky in Win2003

From: jonb (jonb_at_discussions.microsoft.com)
Date: 01/07/05


Date: Fri, 7 Jan 2005 08:35:03 -0800

Let's try again. We have 3 tasks running in task scheduler on W2003 servers.
The servers are configured (nearly) identically and they are the same 3 tasks
on all servers. One app is VB6 and the other two are .NET. After running fine
for a number of days, task scheduler will fail to recognize that the app has
closed. The status shows Running, but it's not. Task Scheduler will not
restart it, because it thinks it's still running. The only way to clear it is
to restart the service.

Once this pattern has begun, it will continue randomly until the server is
rebooted. Some of the servers have been up for 60-90 days without exhibiting
this problem. Others may start it after running for just a few weeks.

If you don't like the word "flaky", then ignore it. Just give me something
constructive to work with.

"Pegasus (MVP)" wrote:

> I'm no saying anything other than this: Before claiming that a
> certain piece of software is flaky, I like to get my facts right.
> Quite often this requires a detailed collection of evidence.
> Drawing conclusions too early in the process can greatly
> prolong the duration of the trouble shooting exercise.
>
>
> "Jon Brammeier" <anonymous@discussions.microsoft.com> wrote in message
> news:46af01c4a4b1$b620dc30$a601280a@phx.gbl...
> > 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 . . .
> > >
> > >
> > >.
> > >
>
>
>



Relevant Pages

  • Re: AT command and Access Denied
    ... I've checked the task scheduler and it is set to default all the other ... Even if I log in as the local Admin I get the access ... All servers are created from the same image and they all have citrix and they ... > enable auditing of logon events for success and failure and privilege use ...
    (microsoft.public.win2000.security)
  • Re: Error on Task Scheduler
    ... I have problem on Task Scheduler on few Windows 2003 servers. ... An error has occured attempting to retrieve task account information. ... Do you see any events in the event log? ...
    (microsoft.public.windows.server.general)
  • 2003 Task Scheduler
    ... Anyone have any issues with 2003 task scheduler. ... different 2003 servers in different environments. ... login as admin. ...
    (microsoft.public.windows.server.general)
  • Re: Shutdown schedule and MS04-011
    ... > message in the event viewer and for the task scheduler everything is OK (I ... > I work for a very big firm and I have this problem on all servers. ... >> If you run the Shutdown command from Start-Run does it work or does it ...
    (microsoft.public.windows.server.setup)
  • Re: Disapearing DC
    ... "Paul Bergson" wrote: ... Please no e-mails, any questions should be posted in the NewsGroup ... But after restart all of this faild test are ok. ... Replace failing_dc_name with the name of the dc in this servers site. ...
    (microsoft.public.windows.server.active_directory)