Sometimes you have to shutdown your PC when you are away from it.
Go to Start and
Schedule in the search
box and press Enter.
Click on Action and
field give any name for
your task and then click on next button.
Select the delay (Daily,weekly
which you want to repeat this task and click on next button.
Now specify the time at
which when you want this task to execute and click onnext.
Now select Start
a Program and click on Next button.
Browse the program which
you want to execute and click on next button.
After this click on Finish button.
If someone is logged-on your PC at the execution time of the task, he/she is
given one minute to save all data which is open before the computer shuts down.