Windows System Task Scheduler, you can add scheduled tasks, set task start time and execution interval, implement automatic execution of the application. For example: To achieve a timed restart, shutdown and other common functions. How to use reference the following steps
1. Create a new text file, change the file suffix to bat, and add the following code
Shutdown-r-T 0
2. Create a scheduled task
2.1 Click Start-Task Scheduler (right-my Computer-manage-Task Scheduler)
2.2. Click Task Scheduler Library--Create basic tasks
2.3. Enter the name and description
2.4. Choose the right start of the task
2.5, set the specific start time and interval
2.6. Start the program
2.7. Select a program or script
2.8. Complete
2.9 Double-click the new scheduled Task name-general- Check whether the user is logged on, does not store passwords, runs with the highest privileges
2.10 Test whether the task can be executed. Right-click Task-run
Task Scheduler-windows2008 timed restart