schedule and terminate activity
by timl from LinuxQuestions.org on (#57VS1)
Hi,
I would like to listen to a radio stream broadcast from the UK. The problem is that this a simple stream. There is no catch up facility. You have to listen from the stream as it is broadcast.
I am interested in a show broadcast 5am-7am my time. This straddles my wake up and go to work" times. I am looking for suggestions on how to grab the stream at 5am and terminate 2 hours later or at 7am.
My first thought was to set off a cron job for 5am - wget the stream. Not sure how I would tell this to stop though as the stream is continuous.
Any ideas?
Cheers


I would like to listen to a radio stream broadcast from the UK. The problem is that this a simple stream. There is no catch up facility. You have to listen from the stream as it is broadcast.
I am interested in a show broadcast 5am-7am my time. This straddles my wake up and go to work" times. I am looking for suggestions on how to grab the stream at 5am and terminate 2 hours later or at 7am.
My first thought was to set off a cron job for 5am - wget the stream. Not sure how I would tell this to stop though as the stream is continuous.
Any ideas?
Cheers