Shift display dimming settings with time of day

Apr 12, '07 07:30:02AM

Contributed by: Anonymous

I have a Mac mini in the bedroom which we use for watching movies and controlling the music throughout the apartment. During the day, I want it to show a screensaver (a Flickr slideshow using ShuffleSaver) for a while before blanking the screen. But at night, I want it to go dark quickly so it doesn't keep us up. I put this in root's crontab to do it automatically:

0 6 * * * /usr/bin/pmset displaysleep 20 
0 20 * * * /usr/bin/pmset displaysleep 1
[robg adds: The easiest way to set root's crontab, if you're not an experienced command line user, is to use Cronnix. We have two other hints dealing with changing the display sleep times.]

Comments (6)


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