streamripper scheduling help

Discuss installation and usage of the packages from macosx.forked.net.

streamripper scheduling help

Postby toner » Mon Dec 03, 2001 9:44 pm

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
toner
 
Posts: 2
Joined: Mon Dec 03, 2001 8:00 pm
Location: usa

Re: streamripper scheduling help

Postby orange1 » Tue Dec 04, 2001 1:20 pm

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.
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm

Re: streamripper scheduling help

Postby orange1 » Tue Dec 04, 2001 1:22 pm

bleh

file's there already, so you just have to add to it.
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm

Re: streamripper scheduling help

Postby toner » Tue Dec 04, 2001 7:55 pm

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?
toner
 
Posts: 2
Joined: Mon Dec 03, 2001 8:00 pm
Location: usa

Re: streamripper scheduling help

Postby orange1 » Wed Dec 05, 2001 1:29 pm

ummmm, make sure pico doesn't wrap the line on you?
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm

Re: streamripper scheduling help

Postby h_lina_k » Mon Dec 15, 2003 9:55 pm

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.
h_lina_k
 
Posts: 1
Joined: Mon Dec 15, 2003 8:00 pm
Location: dc

Re: streamripper scheduling help

Postby apex » Thu Feb 19, 2004 10:56 pm

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]
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm


Return to Ported Packages

Who is online

Users browsing this forum: No registered users and 20 guests

cron