Scheduling a shutdown

Nov 29, '00 03:38:54PM

Contributed by: robg

Want your Mac to power down every night at 11:00pm? User 'Gee4orce' posted the following tidbit to the MacNN OSX forums to accomplish just that feat. Here's how it's done:

  1. Open a terminal session
  2. su root
  3. shutdown -h 2300
This will shutdown the computer at 11pm (2300 on a 24-hour clock). Replace the '2300' in the example with the (24-hour) time of your choosing. If you want to prevent the shutdown, you need to kill the process using either ProcessViewer or the 'kill' command.

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20001129153854780