schtasks /create /tn "reboot for updates" /tr "shutdown /r /t 0" /sc once /st 23:27:00 /sd 11/13/2019 /ru "System"
What is this?
Schtasks
The schtasks command enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote system
Examples
Create ‘My Task’ to run C:RunMe.bat at 9 AM everyday:
schtasks /Create /SC DAILY /TN “My Task” /TR “C:RunMe.bat” /ST 09:00