streamripper scheduling help

toner

2001-12-03 21:44:00

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

orange1

2001-12-04 13:20:00

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.

orange1

2001-12-04 13:22:00

bleh

file's there already, so you just have to add to it.

toner

2001-12-04 19:55:00

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?

orange1

2001-12-05 13:29:00

ummmm, make sure pico doesn't wrap the line on you?

h_lina_k

2003-12-15 21:55:00

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.

apex

2004-02-19 22:56:00

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]