Ubuntu tip: Automatically turn off streaming music at night
Submitted by Mark Stosberg on Sat, 2007/12/22 - 4:33am.
Ubuntu
I've been known to accidentally leave a stream of music running all night when I'm not there to listen to it anymore. That wastes bandwidth and energy.
Here's a quick tip to prevent from happening, by causing any music playing to be turned off at 7:00 pm each night.
On Ubuntu
Gutsy Gibbon 7.10, add these lines to "/etc/crontab". You can edit this file with "gksudo gedit /etc/crontab":
Note that "rhythmbox" and "vlc" are the names of the music players I use. Change as needed.
# stop streams from playing all night.
0 19 * * Mon-Fri killall --quiet rhythmbox vlc
If you need to adjust the time, the first two columns of numbers are the minutes and hour columns.
Have fun!


Recent comments
20 weeks 3 days ago
43 weeks 1 day ago
49 weeks 10 hours ago
49 weeks 10 hours ago
49 weeks 10 hours ago
49 weeks 10 hours ago
50 weeks 3 days ago
1 year 5 days ago
1 year 1 week ago
1 year 2 weeks ago