How to Create a Automated Task that Runs at a Set Time in Windows 7

Here's How:

1. Open up Task Scheduler by either typing "task" into the Start Menu search bar, or by opening All Programs - Accesories - System Tools.
Task Scheduler - Create New Task-task-scheduler-step-1-start-.png
2. Select 'Create Basic Task' from the right hand pane and the 'Create Basic Task Wizard will open.
Task Scheduler - Create New Task-task-scheduler-step-2-opened-.png
3. With the Wizard open, type a 'Name' and 'Description' for your new task and click Next. NOTE: The Next button will only be accessible once a 'Name' has been entered.
Task Scheduler - Create New Task-task-scheduler-step-3a-create-basic-task-.png
4. Select when you would like the event/task to run and click Next. NOTE: For this tutorial i've selected 'Daily'.
Task Scheduler - Create New Task-task-scheduler-step-3b-create-basic-task-trigger-.png
5. Select the exact time and date at which you wish the first task to start (each task afterward will run based on your selection in step 4) then click Next.
Task Scheduler - Create New Task-task-scheduler-step-3c-create-basic-task-time-date-.png
6. Choose the action you with the task to execute from the list then click Next. NOTE: For this tutorial i've selected 'Start a program'.
Task Scheduler - Create New Task-task-scheduler-step-3d-create-basic-task-action-.png
7. Click 'Browse' and navigate to the executable (exe) file of the program you wish to run then click Next. NOTE: I've chosen to ignore 'Add arguments' and 'Start in'.
Task Scheduler - Create New Task-task-scheduler-step-3e-create-basic-task-select-program-.png
8. Review the task and make sure that you've set all your required information correctly. If satisfied click Finish.
Task Scheduler - Create New Task-task-scheduler-step-3f-create-basic-task-review-task-.png
9. Your new task has been created and will run at the user specified time. Click 'Refresh' and scroll the list to see your new task (in this case 'My Task'.
Task Scheduler - Create New Task-task-scheduler-step-4-check-task-.png
Note   Note
You can create a new task with the 'Create Task' option in the right hand pane, this will just open the 'Create New Task' windows without the Wizard
Task Scheduler - Create New Task-task-scheduler-create-task-step-1-.png
10. If you Created a Task to Wake Up the Computer and Run
A) You would need to change how long Windows 7 will wait to go back to sleep mode automatically after waking up unattended (no activity made by the actual user) and idle. The default time is only 120 seconds (2 minutes), so you would need to set this for how long it may take for the program or task to run instead. The tutorial below can help show you how to. It will be the same in Windows 7. For how, see:
Sleep Return Timeout for Unattended Wake Up - Vista Forums

Edit/Change Task:
1. You can change you task settings at any time, just double-click the new task.

Task Scheduler - Create New Task-task-scheduler-step-5-edit-run-disable-delete-.png

OR
2. If you wish to delete the task you can just click the 'Delete' button in the right hand pane. You will get the confimation dialog upon clicking 'delete'

Name:  Task Scheduler Confirmation dialog.png
Views: 97949
Size:  8.1 KB
原文地址:https://www.cnblogs.com/JoshuaDreaming/p/3080291.html