Running application at night.

Hi all,

I want to run a program early in the morning but I don’t want my machine on all night just for this small job.
Is there a way I can put my machine in sleep or hibernation mode until a certain time to wake, run the app then go back to sleep or hibernation again?

I’m running Windows 7.

Thanks in advance,
LVL 10
Who is Participating?
AmitGKConnect With a Mentor Commented:
The following link tells you how to configure ur PC to start up at a specific time.

You can schedule the program you wish to run in "Start Up"
woolnoirConnect With a Mentor Commented:
You can run a scheduled task during the night, assuming its running in sleep mode it should have no problem waking to perform the task. Once completed you have two options.

Either run a  "rundll32 powrprof.dll,SetSuspendState" at the end of the script to immediately return the machine to the sleep state, or have your power plan configured to return to sleep after a period of inactivity.
woolnoirCommented: that link shows you the command line things to run for sleep and hybernate - for reference.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Kinger247Author Commented:
Thanks for the responses, I'll take a look now at them ..

I did come across this free little app that sort of does what I need from Hibernation mode :

But I want to see if I can do it better (or be in more control)
Hibernate is possible - but needs hardware that specifically supports running from a deeper sleep mode. SLeep is a lot more compatible on a wider range of hardware. Windows 7 does allow native wakeup from hibernate if the hardware supports it, so give it a try, schedule a task, put the PC in hibernate and see what happens.

The link i posted above also shows the commands to return a PC to hibernate so it should work too.

Any progress on this one ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.