| Re: Task Scheduler fails to start
"Paul Woodsford" <paul.woodsford@virgin.net> wrote in message
news:%23t39b2%23RHHA.1208@TK2MSFTNGP03.phx.gbl...
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:eiFfGnsRHHA.1180@TK2MSFTNGP05.phx.gbl...
> >
> > "Paul Woodsford" <paul.woodsford@virgin.net> wrote in message
> > news:eNXfNKsRHHA.1016@TK2MSFTNGP04.phx.gbl...
> >> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> >> news:eXV%23BuZRHHA.4692@TK2MSFTNGP02.phx.gbl...
> >> >
> >> > "Paul Woodsford" <paul.woodsford@virgin.net> wrote in message
> >> > news:%23TrUgjXRHHA.496@TK2MSFTNGP06.phx.gbl...
> >> >> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> >> >> news:%23F8q6VERHHA.4756@TK2MSFTNGP03.phx.gbl...
> >> >> >
> >> >> > "Paul Woodsford" <paul.woodsford@virgin.net> wrote in message
> >> >> > news:ep653NERHHA.1908@TK2MSFTNGP05.phx.gbl...
> >> >> >> WinXP sp2 fully updated. Task scheduler fails to start
> > automatically.
> >> >> >> Individual tasks will run if started manually, but not
> > automatically.
> >> >> >> Task
> >> >> >> Scheduler is On.
> >> >> >> Can anyone advise!!!!
> >> >> >>
> >> >> >> --
> >> >> >> Paul Woodsford
> >> >> >> Remove NOSPAM to reply.
> >> >> >>
> >> >> >
> >> >> > I'm a little confused. Here is what you wrote:
> >> >> > - Task scheduler fails to start automatically.
> >> >> > - Task Scheduler is On.
> >> >> >
> >> >> > Now is it the Task Scheduler service that fails to start,
> >> >> > or is it the scheduled tasks that do not run? If it is the
> >> >> > latter, what are you trying to run and how do you know
> >> >> > that it failed to run?
> >> >> >
> >> >> >
> >> >>
> >> >> It is 3 individual tasks that fail to run. 1. Creates an automatic
> > System
> >> >> Restore Point at 0420
> >> >> 2. System Restart at 0430
> >> >> 3. Spybot S&D scan at 0500
> >> >>
> >> >> Under Task Scheduler-Advanced the Option to Switch Off or Pause Task
> >> >> Scheduler is available so I presume it is Enabled.
> >> >> The last run Time/Date for each operation does not update.
> >> >>
> >> >> --
> >> >> Paul Woodsford
> >> >> Remove NOSPAM to reply.
> >> >>
> >> >>
> >> >
> >> > Let's do something nice and simple for testing purposes:
> >> > Create a task that runs once every 10 minutes and that
> >> > invokes the batch file c:\TSTest.bat. Here is what's in
> >> > c:\TSTest.bat:
> >> >
> >> > @echo off
> >> > echo %date% %time% %UserName% >> c:\TSTest.txt
> >> >
> >> > Questions:
> >> > - Do you get any entries in c:\TSTest.txt?
> >> > - Are any entries missing? Which ones?
> >> > - Does your own scheduled task work or fail when
> >> > the test task works?
> >> > - What does the Task Scheduler log file report?
> >> >
> >> >
> >>
> >> Thanks for your input Pegasus.
> >> Have tracked the problem down.
> >> Your test file worked fine, UNTIL the Monitor was switched OFF. I had
> >> screensaver set to Blank after 10 minutes and Monitor set to Switch Off
> >> after 40 minutes. The Task Scheduler worked fine until the Monitor
switch
> >> off.
> >> Did a System Restore and everything is now OK.
> >> Thanks anyway.
> >>
> >> --
> >> Paul Woodsford
> >> Remove NOSPAM to reply.
> >>
> >
> > Thanks for the feedback. I note that there appears to be no
> > relationship between the original question you asked and the
> > solution you found. You first wrote "Individual tasks fail to start
> > automatically" [i.e. when scheduled], yet later you wrote that
> > my test task worked fine. Some contradictions there . . .
> >
> >
>
>
> Not really. My tasks would run manually but not automatically once a day
> starting in the early hours.
> Your task ran manually and automatically every 10 minutes without fail. My
> tasks would still not run automatically alongside yours. It would seem
that
> a new task would run but Not an old one. And before you ask I did delete
my
> tasks and recreate them they still wouldn't run automatically. Then I did
> the System Restore.
>
> --
> Paul Woodsford
> Remove NOSPAM to reply.
Thanks for the clarification. It's now too late to verify this but I am
almost sure that your tasks did in fact run but that they stalled for
some reason. Adding some automatic logging code to your task
would have proved or disproved my assumption. |