Solved

script for sleep and wakeup on PC

Posted on 2016-08-26
2
190 Views
Last Modified: 2016-08-26
Is it possible to create a script that will put my PC to sleep at certain hour and wake up at certain hour and configure "task scheduler" that will run this script? I just want to have this done automatically in stead of manually.  If snot, are there any other option to have this accomplished ?
0
Comment
Question by:Shark Attack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
omgang earned 500 total points
ID: 41772180
Yes.  I just did a quick search on this.
Create a Scheduled Task, set it to run whether user is logged in or not.  Select 'Wake the computer to run this task'.  In the Specify Action, in the example I saw simply specify cmd.exe to open a command window and add an argument to immediately close the command window.

Do a web search for "windows 7 task scheduler task wake".  In the example I viewed there was a link to create a task to put the computer to sleep as well.

OM Gang
0
 
LVL 3

Author Comment

by:Shark Attack
ID: 41772196
thanks
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question