Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Shift display dimming settings with time of day' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Shift display dimming settings with time of day
Authored by: mankoff on Apr 12, '07 07:38:43AM
Good hint. I ran this for a while on my laptop, but sometimes it didn't work. I realized it is because it was sometimes asleep when the cron job should have run, and then was taking too long to go to sleep at night, or dimming too quickly during the day. My solution is to run the cron scripts every hour, like so:

0 7-21 * * * /usr/bin/pmset -c displaysleep 30
0 0-6,22,23 * * * /usr/bin/pmset -c displaysleep 3

---
http://spacebit.dyndns.org

[ Reply to This | # ]