Weblog

Written on: 2005/02/13.

The Linux Alarm Clock:

I needed a more obnoxious alarm clock, so I rigged my computer to play Nine Inch Nails: March of the Pigs.

First I made a ~/.alarmclock file and then I added this: xmms /mnt/keighty/Music/Bands/Nine\ Inch\ Nails/Halo\ 08\,\ The\ Downward\ Spiral\ Deluxe\ Edition/Nine\ Inch\ Nails\ -\ Halo\ 08\,\ The\ Downward\ Spiral\ Deluxe\ Edition\ Disk\ 1\ -\ 04\ -\ March\ of\ the\ Pigs.mp3

Then I edited the crontab, crontab -e and added this: 30 7 * * * sh ~/.alarmclock