stream ripper that runs every 30 minutes
10K+
Cron working on one out of two qnaps. Continuing to test.
Example: When running on a QNAP NAS:
0,30 * * * * root /home/streamripper/station.sh > /var/log/cron.log 2>&1 #* * * * * root echo "Hello world" >> /var/log/cron.log 2>&1 #Use this line to test cron
#!/bin/sh
date=date +"%Y_%a_%b_%d_%H%M%P"
url=http://URL of radio station output_filename=stationNameHere.${date}
#Set duration for 30 Minutes because cron runs every 30 minutes to make a new recording. duration=1800
output_dir=/home/streamripper cd $output_dir
streamripper $url -d $output_dir -l $duration -a $output_filename -r 8000 -R 0 -o always
To install and run container:
docker run -d -v /share/Containers/streamripper:/home/streamripper -v /share/Containers/streamripper/cron:/etc/cron.d -e TZ='US/Pacific' --name streamripper-kcho dax333/cron-streamripper
Content type
Image
Digest
Size
264.1 MB
Last updated
about 10 years ago
docker pull dax333/cron-streamripper