Search this site


Metadata

Articles

Projects

Presentations

Wakeup call using /bin/sh and at(8)

Using at(8), I can schedule jobs to occur, say, when I need to wake up.
nightfall(~) % atq
Date                            Owner           Queue   Job#
Thu Jul 13 07:30:00 PDT 2006    jls             c       14
Thu Jul 13 08:00:00 PDT 2006    jls             c       15
Thu Jul 13 08:20:00 PDT 2006    jls             c       16
All of those jobs run my 'wakeup.sh' script which is somewhat primitive, but it does the job.

Using this script: scripts/wakeup.sh


1 responses to 'Wakeup call using /bin/sh and at(8)'

Showing last 1 comments... (Click here to view all comments)

smoon wrote at Mon Jul 17 11:33:48 2006...
Heh, nice idea. I use at to start playing music really loud when I need to get up. Depending on the music I choose it works more or less (Slayer works quite well while I tend to oversleep stuff like Air or Tool).


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment: