Tag Info

New answers tagged

0

All the above answers work, but if you want to do this regularly, I recommend the Power Manager software, which allows you to set custom sleep times, both for one time and recurring events very easily (far more easily than using Terminal commands, in my opinion). The software is relatively expensive ($50), but there is a free 30 day trial with all features. ...


8

The pmset terminal command should do what you want. The following will put the computer to sleep at 23:45:00 on December 2, 2014. The command must be run from an administrator account though: sudo pmset schedule sleep "12/02/14 23:45:00" (Edit: As far as I know, the MM/DD/YY date format cannot be changed; so, if you are used to a different format, use ...


5

By default there is no way of doing that with the options you have in the system preferences. But, you could do it from command line with a simple command: sleep 10; osascript -e 'tell application "System Events" to sleep' sleep 10 pause the execution of the following command for 10 seconds. If you want minutes or hours you must change 10 with number ...



Top 50 recent answers are included