Continuing on a previous post, this post shows you how to do the same thing in a mac with a slightly different command line in your Terminal.
Trying to accomplish the same thing, type the following:
sudo shutdown -r +360
-r – To reboot the computer.
time – Sets the time-out period before shutdown to +minutes or you can put an exact time in yymmddhhmm format.
In this example, the time is set to +360 minutes (or 6 hours).
If you make a mistake or just want to change your mind on the parameters, you can always cancel your job by executing this command:
sudo killall shutdown
For more available options, you can always type the following in Terminal:
And it will show you the System Manager’s Manual similar to the screenshot below: