i want to write a script using the command to shutdown as done in terminal
"shutdown -r now"
(please correct me if i'm wrong)
ive been using script editor to attempt saving a script but i'm doing something wrong. i am using the terminal version because i don't want it ask to close tabs on browsers, etc. i want it to shutdown the computer without any questions. force quit, whatever it takes.
what is the best way to accomplish this? or what format does the script need to be saved in?
"shutdown -r now"
(please correct me if i'm wrong)
ive been using script editor to attempt saving a script but i'm doing something wrong. i am using the terminal version because i don't want it ask to close tabs on browsers, etc. i want it to shutdown the computer without any questions. force quit, whatever it takes.
what is the best way to accomplish this? or what format does the script need to be saved in?