Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download - Clean, repair and optimize your system



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner 2009 - Free Scan Now

Vista Sleep Mode and Task Scheduler

microsoft.public.windows.vista.general




Recommended Fix - Fix Vista Errors and Optimize Performance

Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Driver Scanner 2009 - Free Scan Now
Reply
  #1 (permalink)  
Old 12-18-2007
John Wesley Asquith
 

Posts: n/a
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???



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-18-2007
dmex
 

Posts: n/a
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:

> 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???
>
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-18-2007
Fred Munro
 

Posts: n/a
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:

> 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???
>
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Task scheduler and sleep mode - Sleeps too soon Adam microsoft.public.windows.vista.performance maintenance 6 01-07-2009 06:49
Task scheduler and sleep; sleeps too soon Larry R microsoft.public.windows.vista.general 0 11-26-2007 22:01
Article ID: 929463 The Task Scheduler does not wake the computer to run a scheduled task in Windows Vista KBArticles English 0 10-22-2007 20:00
Task Scheduler wakes up, but goes back to sleep Cue8Chalk microsoft.public.windows.vista.general 0 08-28-2007 17:46
Vista - Sleep/network/task scheduler issue David Qunt microsoft.public.windows.vista.general 3 03-01-2007 12:18




All times are GMT +1. The time now is 21:06.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com and Win7Heads.com.


Funny Commercials to make you laugh :-)

Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119