Windows Server timed Restart task development
"This article takes Windows Server R2 as an example"
The first step: write a restart step
is actually a sentence: shutdown/r
Other shutdown command references can be accessed using shutdown/?
Step two: Set up Task Scheduler
1. Start again-Find Task Scheduler in all apps
2. Expand the Task Scheduler library, where the task Scheduler is categorized, we find the System Manager class, under which we create the automatic restart Systems task
3. Select Create task on the right side of the window (you can also use the Create basic task, which is created as a wizard method)
4. General page for defining task names and user identities for performing tasks
5. The trigger page is used to define the conditions that trigger the task, and we define the time parameter here
6. The action page is used to select the footsteps we created earlier
7. Conditions and settings generally remain the default.
Step Three: Verify
According to the settings, verify that the system is restarted periodically;
System events can be filtered in the System Event Viewer, filtered by the EventLog event, event number 6013
This article is from the "brave" blog, make sure to keep this source http://brave8898.blog.51cto.com/289041/1966405
Windows Server timed Restart task development