Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows Server scheduled restart task formulation

Shulou Source: shulou.com Published: 2022-06-02 11:12:36 09月28日 Update

Windows Server scheduled restart task formulation

[this article takes Windows Server 2012 R2 as an example]

Step 1: write the restart steps

It's just a sentence: shutdown / r

Other shutdown command references can use shutdown /? Look up

Step 2: set up the task scheduler

1. Start again-find the task scheduler in all applications

two。 Expand the task scheduler library, where there are many classifications of the task scheduler. We find the System Manager class and create automatic restart system tasks under this class.

3. Select the create task on the right side of the window (you can also use the create basic task, which is created as a wizard)

4. The general page is used to define information such as the name of the task and the identity of the user who performed the task.

5. The trigger page is used to define the conditions under which the task is triggered. We define the time parameters here.

6. The action page is used to select the steps we created earlier.

7. Generally speaking, the conditions and settings can be kept by default.

Step 3: verify

Verify that the system is rebooted periodically according to the settings

System events can be filtered in the system event Viewer. The filter condition is the eventlog event, event number 6013.

Tags: Tasks events programs systems conditions pages steps selection validation one sentence information Prophase parameters right name wizard commands that is general method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info Shulou Technology macOS MariaDB