Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Vista Sleep Mode and Task Scheduler

Reply
 
Old 12-18-2007   #1 (permalink)
John Wesley Asquith


 
 

Vista Sleep Mode and Task Scheduler

I use Task Scheduler to run programs at various intervals that support
an Internet web site. When the computer is idle I have it set to go to
sleep after 5 minutes. I use the "Wake Up Computer" setting for the
tasks in Task Scheduler so that it comes back to life when a task is
ready to run.

This all works well and predictably EXCEPT for a couple of programs that
run at different times. They wake up the computer allright but they
each take about 2 minutes to complete and the computer goes back to
sleep before they're done leaving files open and the task only partially
completed. I've messed with every setting I can think of and have made
no progress at all.

I've tried the Vista sleep, hybrid sleep, and hibernation modes but they
all result in the same thing...the computer just goes back to sleep too
early while the task is still running.

I need some way to make the PC stay awake until the scheduled task is
complete. Anyone have ideas what to do???




My System SpecsSystem Spec
Old 12-18-2007   #2 (permalink)
dmex


 
 

RE: Vista Sleep Mode and Task Scheduler

You can use VBScript or Powershell to create a shutdown/sleep script to run
after the first tasks complete, using one bat script to run both operations
could be of some use aswell.

"John Wesley Asquith" wrote:
Quote:

> I use Task Scheduler to run programs at various intervals that support
> an Internet web site. When the computer is idle I have it set to go to
> sleep after 5 minutes. I use the "Wake Up Computer" setting for the
> tasks in Task Scheduler so that it comes back to life when a task is
> ready to run.
>
> This all works well and predictably EXCEPT for a couple of programs that
> run at different times. They wake up the computer allright but they
> each take about 2 minutes to complete and the computer goes back to
> sleep before they're done leaving files open and the task only partially
> completed. I've messed with every setting I can think of and have made
> no progress at all.
>
> I've tried the Vista sleep, hybrid sleep, and hibernation modes but they
> all result in the same thing...the computer just goes back to sleep too
> early while the task is still running.
>
> I need some way to make the PC stay awake until the scheduled task is
> complete. Anyone have ideas what to do???
>
>
>
>
My System SpecsSystem Spec
Old 12-18-2007   #3 (permalink)
Fred Munro


 
 

RE: Vista Sleep Mode and Task Scheduler

A simpler way, would be to extend the sleep time. I generally would set it to
something like ten or twenty as five minutes isn't that long, also keep in
mind is it count from when you are logged in or when Windows begins to load?

I have actually noticed both depending on my config... hope this helps...

Fred Munro

"John Wesley Asquith" wrote:
Quote:

> I use Task Scheduler to run programs at various intervals that support
> an Internet web site. When the computer is idle I have it set to go to
> sleep after 5 minutes. I use the "Wake Up Computer" setting for the
> tasks in Task Scheduler so that it comes back to life when a task is
> ready to run.
>
> This all works well and predictably EXCEPT for a couple of programs that
> run at different times. They wake up the computer allright but they
> each take about 2 minutes to complete and the computer goes back to
> sleep before they're done leaving files open and the task only partially
> completed. I've messed with every setting I can think of and have made
> no progress at all.
>
> I've tried the Vista sleep, hybrid sleep, and hibernation modes but they
> all result in the same thing...the computer just goes back to sleep too
> early while the task is still running.
>
> I need some way to make the PC stay awake until the scheduled task is
> complete. Anyone have ideas what to do???
>
>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Task scheduler and sleep mode - Sleeps too soon Vista performance & maintenance
Starting playlist out of sleep does not work (task scheduler) Vista performance & maintenance
Task scheduler and sleep; sleeps too soon Vista General
Task Scheduler wakes up, but goes back to sleep Vista General
Vista - Sleep/network/task scheduler issue Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46