1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Task Scheduler wakes computer on NO TASK days

Discussion in 'Windows XP' started by Ron, Feb 19, 2010.

  1. Ron

    Ron Flightless Bird

    We have Task Scheduler set to run a task M, T, W, T at 2AM.
    The "Wake the computer to run the task" is checked as the computer is
    usually in hibernate at this time.

    On the days that no task is scheduled (F, S, S) the computer resumes from
    hibernate at 2AM.
    The task DOES NOT RUN (as it is not scheduled). There is no entry in the
    Task Schedule log for these days (and there shouldn't be) and the return to
    hibernate after the task completes does not kick in as it does on the days
    that a task is scheduled.

    Why is the computer waking on the no event days (and it is not even
    returning to hibernate)?

    We have other computers with the same task schedule that are working as
    scheduled.

    I have confirmed that it is the task that is waking the computer (and not a
    BIOS setting, etc). If I disable the task the computer does not wake.

    I have also tried deleting and recreating the task.

    The computer is running Windows XP Service Pack3.
     
  2. 3c273

    3c273 Flightless Bird

    I have noticed this also. When you check the box to wake the computer, it
    sets a wake event in the real time clock (RTC) on the motherboared. I
    suspect that the RTC is not capable of storing a complex schedule and that
    it is merely a means to wake the computer and see if a task is supposed to
    run today. Just schedule a hibernate event for 2:05AM on days that the task
    is not scheduled to run. You can use "psshutdown -h" to do this.
    Psshutdown.exe is available free from Microsoft as part of the PSTools
    package.

    Louis

    "Ron" <N@NE.nothing> wrote in message
    news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    > We have Task Scheduler set to run a task M, T, W, T at 2AM.
    > The "Wake the computer to run the task" is checked as the computer is
    > usually in hibernate at this time.
    >
    > On the days that no task is scheduled (F, S, S) the computer resumes from
    > hibernate at 2AM.
    > The task DOES NOT RUN (as it is not scheduled). There is no entry in the
    > Task Schedule log for these days (and there shouldn't be) and the return

    to
    > hibernate after the task completes does not kick in as it does on the days
    > that a task is scheduled.
    >
    > Why is the computer waking on the no event days (and it is not even
    > returning to hibernate)?
    >
    > We have other computers with the same task schedule that are working as
    > scheduled.
    >
    > I have confirmed that it is the task that is waking the computer (and not

    a
    > BIOS setting, etc). If I disable the task the computer does not wake.
    >
    > I have also tried deleting and recreating the task.
    >
    > The computer is running Windows XP Service Pack3.
    >
    >
     
  3. Ron

    Ron Flightless Bird

    Thanks for your reply.
    I thought about the shut down task, but once in a while the computer
    actually is in use at those times.


    "3c273" <nospam@nospam.com> wrote in message
    news:-Obpco$XsKHA.5356@TK2MSFTNGP02.phx.gbl...
    >I have noticed this also. When you check the box to wake the computer, it
    > sets a wake event in the real time clock (RTC) on the motherboared. I
    > suspect that the RTC is not capable of storing a complex schedule and that
    > it is merely a means to wake the computer and see if a task is supposed to
    > run today. Just schedule a hibernate event for 2:05AM on days that the
    > task
    > is not scheduled to run. You can use "psshutdown -h" to do this.
    > Psshutdown.exe is available free from Microsoft as part of the PSTools
    > package.
    >
    > Louis
    >
    > "Ron" <N@NE.nothing> wrote in message
    > news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    >> We have Task Scheduler set to run a task M, T, W, T at 2AM.
    >> The "Wake the computer to run the task" is checked as the computer is
    >> usually in hibernate at this time.
    >>
    >> On the days that no task is scheduled (F, S, S) the computer resumes from
    >> hibernate at 2AM.
    >> The task DOES NOT RUN (as it is not scheduled). There is no entry in the
    >> Task Schedule log for these days (and there shouldn't be) and the return

    > to
    >> hibernate after the task completes does not kick in as it does on the
    >> days
    >> that a task is scheduled.
    >>
    >> Why is the computer waking on the no event days (and it is not even
    >> returning to hibernate)?
    >>
    >> We have other computers with the same task schedule that are working as
    >> scheduled.
    >>
    >> I have confirmed that it is the task that is waking the computer (and not

    > a
    >> BIOS setting, etc). If I disable the task the computer does not wake.
    >>
    >> I have also tried deleting and recreating the task.
    >>
    >> The computer is running Windows XP Service Pack3.
    >>
    >>

    >
    >
     
  4. 3c273

    3c273 Flightless Bird

    You could use the idle time checkbox on the settings tab if your situation
    permits. Set it to hibernate at 2:30AM only if the computer has been idle
    for at least 25 minutes.
    Louis

    "Ron" <N@NE.nothing> wrote in message
    news:eg7M0BYsKHA.1796@TK2MSFTNGP02.phx.gbl...
    > Thanks for your reply.
    > I thought about the shut down task, but once in a while the computer
    > actually is in use at those times.
    >
    >
    > "3c273" <nospam@nospam.com> wrote in message
    > news:-Obpco$XsKHA.5356@TK2MSFTNGP02.phx.gbl...
    > >I have noticed this also. When you check the box to wake the computer, it
    > > sets a wake event in the real time clock (RTC) on the motherboared. I
    > > suspect that the RTC is not capable of storing a complex schedule and

    that
    > > it is merely a means to wake the computer and see if a task is supposed

    to
    > > run today. Just schedule a hibernate event for 2:05AM on days that the
    > > task
    > > is not scheduled to run. You can use "psshutdown -h" to do this.
    > > Psshutdown.exe is available free from Microsoft as part of the PSTools
    > > package.
    > >
    > > Louis
    > >
    > > "Ron" <N@NE.nothing> wrote in message
    > > news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    > >> We have Task Scheduler set to run a task M, T, W, T at 2AM.
    > >> The "Wake the computer to run the task" is checked as the computer is
    > >> usually in hibernate at this time.
    > >>
    > >> On the days that no task is scheduled (F, S, S) the computer resumes

    from
    > >> hibernate at 2AM.
    > >> The task DOES NOT RUN (as it is not scheduled). There is no entry in

    the
    > >> Task Schedule log for these days (and there shouldn't be) and the

    return
    > > to
    > >> hibernate after the task completes does not kick in as it does on the
    > >> days
    > >> that a task is scheduled.
    > >>
    > >> Why is the computer waking on the no event days (and it is not even
    > >> returning to hibernate)?
    > >>
    > >> We have other computers with the same task schedule that are working as
    > >> scheduled.
    > >>
    > >> I have confirmed that it is the task that is waking the computer (and

    not
    > > a
    > >> BIOS setting, etc). If I disable the task the computer does not wake.
    > >>
    > >> I have also tried deleting and recreating the task.
    > >>
    > >> The computer is running Windows XP Service Pack3.
    > >>
    > >>

    > >
    > >

    >
    >
     
  5. Ron

    Ron Flightless Bird

    I just thought of this and I dont know if it will work but something to play
    with.

    I think if the task is only set for one day eg Monday it wont wake the
    computer on Tuesday.

    I'm going to play with Mondays task "creating" Tuesdays task etc. and then
    deleting itself.


    "Ron" <N@NE.nothing> wrote in message
    news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    > We have Task Scheduler set to run a task M, T, W, T at 2AM.
    > The "Wake the computer to run the task" is checked as the computer is
    > usually in hibernate at this time.
    >
    > On the days that no task is scheduled (F, S, S) the computer resumes from
    > hibernate at 2AM.
    > The task DOES NOT RUN (as it is not scheduled). There is no entry in the
    > Task Schedule log for these days (and there shouldn't be) and the return
    > to hibernate after the task completes does not kick in as it does on the
    > days that a task is scheduled.
    >
    > Why is the computer waking on the no event days (and it is not even
    > returning to hibernate)?
    >
    > We have other computers with the same task schedule that are working as
    > scheduled.
    >
    > I have confirmed that it is the task that is waking the computer (and not
    > a BIOS setting, etc). If I disable the task the computer does not wake.
    >
    > I have also tried deleting and recreating the task.
    >
    > The computer is running Windows XP Service Pack3.
    >
     
  6. 3c273

    3c273 Flightless Bird

    Please post back. I am interested in what you discover.
    Louis

    "Ron" <N@NE.nothing> wrote in message
    news:umq69lYsKHA.5936@TK2MSFTNGP04.phx.gbl...
    > I just thought of this and I dont know if it will work but something to

    play
    > with.
    >
    > I think if the task is only set for one day eg Monday it wont wake the
    > computer on Tuesday.
    >
    > I'm going to play with Mondays task "creating" Tuesdays task etc. and then
    > deleting itself.
    >
    >
    > "Ron" <N@NE.nothing> wrote in message
    > news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    > > We have Task Scheduler set to run a task M, T, W, T at 2AM.
    > > The "Wake the computer to run the task" is checked as the computer is
    > > usually in hibernate at this time.
    > >
    > > On the days that no task is scheduled (F, S, S) the computer resumes

    from
    > > hibernate at 2AM.
    > > The task DOES NOT RUN (as it is not scheduled). There is no entry in the
    > > Task Schedule log for these days (and there shouldn't be) and the return
    > > to hibernate after the task completes does not kick in as it does on the
    > > days that a task is scheduled.
    > >
    > > Why is the computer waking on the no event days (and it is not even
    > > returning to hibernate)?
    > >
    > > We have other computers with the same task schedule that are working as
    > > scheduled.
    > >
    > > I have confirmed that it is the task that is waking the computer (and

    not
    > > a BIOS setting, etc). If I disable the task the computer does not wake.
    > >
    > > I have also tried deleting and recreating the task.
    > >
    > > The computer is running Windows XP Service Pack3.
    > >

    >
    >
     
  7. Ron

    Ron Flightless Bird

    Well I was wrong.
    Even a task scheduled for 1 day wakes the computer every day.

    What I ended up doing (to deal with the fact that the computer might already
    be on) was to create a task that just writes a time stamp entry to the
    registry (it does not wake the computer and it times out after 1 min). So if
    the computer is on the entry writes the current date.

    Then I call a task that does wake the computer a minute later. It checks if
    the day of the week is Fir, Sat Sun and if it is it checks for the time
    stamp in the registry with a current date (the time stamp would be out of
    date if the computer were off and the previous task never ran). If there is
    no current time stamp then I call my hibernate function.

    Hope this helps

    "3c273" <nospam@nospam.com> wrote in message
    news:-O93ELxYsKHA.4220@TK2MSFTNGP05.phx.gbl...
    > Please post back. I am interested in what you discover.
    > Louis
    >
    > "Ron" <N@NE.nothing> wrote in message
    > news:umq69lYsKHA.5936@TK2MSFTNGP04.phx.gbl...
    >> I just thought of this and I dont know if it will work but something to

    > play
    >> with.
    >>
    >> I think if the task is only set for one day eg Monday it wont wake the
    >> computer on Tuesday.
    >>
    >> I'm going to play with Mondays task "creating" Tuesdays task etc. and
    >> then
    >> deleting itself.
    >>
    >>
    >> "Ron" <N@NE.nothing> wrote in message
    >> news:-OqpU5rXsKHA.5356@TK2MSFTNGP02.phx.gbl...
    >> > We have Task Scheduler set to run a task M, T, W, T at 2AM.
    >> > The "Wake the computer to run the task" is checked as the computer is
    >> > usually in hibernate at this time.
    >> >
    >> > On the days that no task is scheduled (F, S, S) the computer resumes

    > from
    >> > hibernate at 2AM.
    >> > The task DOES NOT RUN (as it is not scheduled). There is no entry in
    >> > the
    >> > Task Schedule log for these days (and there shouldn't be) and the
    >> > return
    >> > to hibernate after the task completes does not kick in as it does on
    >> > the
    >> > days that a task is scheduled.
    >> >
    >> > Why is the computer waking on the no event days (and it is not even
    >> > returning to hibernate)?
    >> >
    >> > We have other computers with the same task schedule that are working as
    >> > scheduled.
    >> >
    >> > I have confirmed that it is the task that is waking the computer (and

    > not
    >> > a BIOS setting, etc). If I disable the task the computer does not wake.
    >> >
    >> > I have also tried deleting and recreating the task.
    >> >
    >> > The computer is running Windows XP Service Pack3.
    >> >

    >>
    >>

    >
    >
     

Share This Page