Page 1 of 1
streamripper scheduling help
Posted:
Mon Dec 03, 2001 9:44 pm
by toner
I'm new to UNIX and command lines. I downloaded STREAMRIPPER and with some help got it running. I'd like to use CRON to schedule STREAMRIPPER to rip a live streaming MP3 for one hour weekly from the same stream. If anyone can help me out with this feel free to respond and/or email me.
toner@mac.com
Re: streamripper scheduling help
Posted:
Tue Dec 04, 2001 1:20 pm
by orange1
create a file at /etc/crontab
first few lines look like this:
# $NetBSD: crontab,v 1.13 1997/10/26 13:36:31 lukem Exp $
#
# /etc/crontab - root's crontab
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#min hour mday month wday user command
that last bit tells you how to format the remaining lines to run commands. to do something daily at 1:30, you'd put this:
30 1 * * * willy ~/mydailyscript.sh
willy would obviously be changed to whoever you wanted the process to be run as. last bit would change to whatever you command was, args, switches and all.
Re: streamripper scheduling help
Posted:
Tue Dec 04, 2001 1:22 pm
by orange1
bleh
file's there already, so you just have to add to it.
Re: streamripper scheduling help
Posted:
Tue Dec 04, 2001 7:55 pm
by toner
50 14 * * 2 birchett streamripper
http://wfmu.oven.com:8000/ -d /Users/birchett/Desktop -l 3600
the above does not work at all, but just
birchett streamripper
http://wfmu.oven.com:8000/ -d /Users/birchett/Desktop -l 3600
on the standard command line does work immediately. It seems like cron does not want to process this task! Any clues?
Re: streamripper scheduling help
Posted:
Wed Dec 05, 2001 1:29 pm
by orange1
ummmm, make sure pico doesn't wrap the line on you?
Re: streamripper scheduling help
Posted:
Mon Dec 15, 2003 9:55 pm
by h_lina_k
Hey, does anyone know how to make it silent. When i set up the crontab it emails me everytime the process starts? With most programs there is usually an option like --silent, but i havent caught wind of anything like that for streamripper.
Re: streamripper scheduling help
Posted:
Thu Feb 19, 2004 10:56 pm
by apex
at the end of your cron entry, add:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>>/dev/null 2>&1</pre>[/quote]