That script will do a shutdown 24 hours from whenever the script was executed, regardless of whether or not the device has been used during that period.
So if I run it at 2 pm Saturday, when I'm busy reading at 1:59 pm Sunday the device would turn off at 2:00 pm Sunday.
|