Alternative to the -s option (see above). r : setup the automatic reboot of the system: this option is required to ensure that your system will actually restart. Alternative to the -r option (see below). s : setup the automatic shutdown of the system without a reboot. Here's a brief explanation of the parameters used above: Setup an automatic Shutdown (without reboot) Once done, move to the Actions tab and click to the New button to setup the command to execute whenever the trigger fires. The most common trigger to setup here is a time-based trigger, which can be set by selecting the On a schedule option on the Begin the task dropdown list: Il trigger che abbiamo creato eseguirà l'attività ogni notte alle ore 04:00.įor further info regarding triggers, take a look at this MS TechNet page. A New Trigger modal window will then be opened, which you can use to setup such event. Once done, move to the Trigger tab and click on the New button to create an execution trigger - which is, the event that will make the system run the task itself. Run with highest privileges, to make sure that the task will be executed with administrator rights - this is required for issuing a system hutdown or a reboot.įor further info regarding the other options, check out this MS TechNet article.Run whether user is logged on or not, to ensure that the task will be executed even if there are no logged-in users. ![]() Other than that, it can be useful to properly setup the following options: Once the Task Scheduler window is open, create a new task using the Create Task action in the following way:Ī modal window will be opened: use the General tab to setup a name and a description to the new task.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |