This script is used to Schedule automatic reboot using task schedule
Edit parameters
daily="DAILY" #Eg:DAILY,MON,TUE,WED,THU,FRI,SAT,SUN
time="20:00" #TIME-should be in 24 hour format
Note:
1. Run the script as a Local system user
2. Change the parameter of variable "process" = 1 to start the scheduled task.
3. Change the parameter of variable "process" = 2 to stop the scheduled task.