More than one year ago I managed to put a RaspberryPI and a pair of speaker on my bedside table, programmed to loudly play a dubstep music stream at a given hour to wake me up on the most brutal and effective way.
It worked, but recently I had to setup different hours on different days and it was boring to daily change the configuration of the application. So I tried to introduce a more complex configuration on my little software, breaking everything.
I'm too lazy to fix it, so I looked for a different solution. And I found this web interface for cron, easy to install and manage. Within an hour I replaced my application with this one on the Raspberry, setting different configurations for different days of the week.
The command I run is
timeout 60m /usr/bin/gst-launch-0.10 -v playbin2 uri=http://stream.dubbase.fm:7002
gst-launch-0.10 is the GStreamer command line tool and the prepending
timeout executes the given command for the specified interval before kill it.
My GitHub repository is going to be removed very soon (the code is broken and I don't want to fix it), I will expiate my programming sins by pushing a pair of pull-requests to the crontab-ui project.