Re: Windows 2003 Scheduler hangs
charlie.bursell_at_quovadx.com
Date: 01/15/05
- Next message: zathrus: "Re: Error 1719. The Windows Installer Service ..."
- Previous message: Todd J Heron: "Re: File Replication Service"
- In reply to: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Next in thread: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Reply: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Messages sorted by: [ date ] [ thread ]
Date: 15 Jan 2005 15:54:10 -0800
Pegasus (MVP) wrote:
> <charlie.bursell@quovadx.com> wrote in message
> news:1105813483.887807.315830@f14g2000cwb.googlegroups.com...
> > Please a little help for a Unix dweeb that knows little or nothing
> > about Windows, especially Windows 2003.
> >
> > I have a batch file that is run every 10 minutes via the scheduler.
> > This batch file also calls a Tcl script. Periodically, the
scheduler
> > will hang and not exit. It does this maybe twice a day. I noted
when
> > this first began to happen that the command window from svchost
would
> > also stay up. I changed the scheduler and told it to exit the
routine
> > if it was still running after 2 minutes. Now the window does go
away
> > but the instance of Tcl and svchost remains. The scheduler kills
the
> > batch file but not the svchost.exe or tcl.exe instances. Therefore
> > files that the Tcl script were accessing are still locked to that
> > instance and subsequent runs fail since the new run cannot access
the
> > files.
> >
> > Any ideas? Is it possible, like Unix, to run the batch script in
the
> > background so that the command window does not come up every time
it
> > runs?
> >
>
> - Is it the Task Scheduler that hangs, or the task that is invoked by
> the scheduler?
> - To run the task invisibly, did you try scheduling it under an
> account other than your own?
Not sure which. It looks like svchost hanging. I know it gets all the
way through the Tcl script. I prove that by writing debug statements
to a file. It does not seem to get back to the batch file however.
The final statement in the batch script is:
call tcl -f myscript
As I said the Tcl script is executing all the way through.
I haven't tried running it as another user. I'll try that next.
- Next message: zathrus: "Re: Error 1719. The Windows Installer Service ..."
- Previous message: Todd J Heron: "Re: File Replication Service"
- In reply to: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Next in thread: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Reply: Pegasus \(MVP\): "Re: Windows 2003 Scheduler hangs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|