Windows’ Task Scheduler utility allows you to execute the programs base on your schedule.
- Open Task Scheduler by searching for it in the Start menu. In the Actions pane on the right, click “Create Basic Task” and name the task “Shutdown.” Click the “Next” button to proceed.
2. Set the trigger defends on your schedule. You can choose any of them Daily, Weekly and Monthly. Click Next to make your selection and specify the parameters for your trigger. In our case, we’ll automatically shut down the device at 5:30 every day.
3.Click “Next” from the Action configuration screen. Choose “Start a program” and click “Next.” Under “Program/script”, type shutdown. Type /s /t 0 into the “Add arguments box” – you’ll notice from above that we still have to specify a shutdown delay, but by using “0 seconds” the timer expires immediately.
4. Then click “Next” again to review and save your task. It will be automatically enabled when you click the final “Finish” button. You can now rest assured your device will shut down automatically , so you can keep tasks running even if you’re leaving your device unattended.