Uberman sleep minder

I’ve been working on the uberman sleep schedule for the past week-and-a-half. Here the crontab I use to help remember to follow the schedule:

0 2,6,10,14,18,22 * * * /usr/local/bin/dbus-launch /usr/local/bin/notify-send -u low -t 5000 -i stock_timer 'Sleep in 30 minutes' 'Your sleep is coming up in a half hour'
25 2,6,10,14,18,22 * * * /usr/local/bin/dbus-launch /usr/local/bin/notify-send -u normal -t 5000 -i stock_timer 'Sleep in 5 minutes' 'You should head to bed now'
30 2,6,10,14,18,22 * * * /usr/local/bin/dbus-launch /usr/local/bin/notify-send -u critical -t 5000 -i stock_timer 'Sleep now' 'You should not be awake to read this'

This uses notify-send to display a DBus alert for about a five seconds. Three such alerts exist: one 30 minutes before I sleep, one 5 before, and one when I should be asleep.

Adjust for your own schedule as you see fit.


One Comment

  1. Posted November 27, 2007 at 1:45 am | Permalink

    Sweet man, hope the schedule is going well for you. In case anyone is curious about following my experiences, I’ll be starting a blog at http://cmichener.blogspot.com when I start sleeping uberman-style on December 20.

2 Trackbacks/Pingbacks

  1. […] Remembering to sleep I wrote some simple code to remind me to […]

  2. […] Mike Burns wrote a fantastic post today on “Uberman sleep minder”Here’s ONLY a quick extractDISPLAY=:0.0 0 2,6,10,14,18,22 * * * /usr/local/bin/dbus-launch /usr/local/bin/notify-send -u low -t 5000 -i stock_timer ‘Sleep in 30 minutes’ ‘Your sleep is coming up in a half hour’ 25 2,6,10,14,18,22 * * * /usr/local/bin/dbus-launch … […]

%d bloggers like this: