Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Ported Packages   » streamripper scheduling help

UBBFriend: Email this page to someone!    
Author Topic: streamripper scheduling help
toner
Junior Member
Member # 243

posted December 03, 2001 01:44 PM      Profile for toner     Send New Private Message      Edit/Delete Post  Reply With Quote 
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
Posts: 2 | From: usa | Registered: Dec 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted December 04, 2001 05:20 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
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


Posts: 92 | Registered: Aug 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted December 04, 2001 05:22 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
bleh

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

--------------------

--

-willy
"Freedom will henceforth be compulsory." -Random Party Manifesto


Posts: 92 | Registered: Aug 2001  |  IP: Logged
toner
Junior Member
Member # 243

posted December 04, 2001 11:55 AM      Profile for toner     Send New Private Message      Edit/Delete Post  Reply With Quote 
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?


Posts: 2 | From: usa | Registered: Dec 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted December 05, 2001 05:29 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
ummmm, make sure pico doesn't wrap the line on you?

--------------------

--

-willy
"Freedom will henceforth be compulsory." -Random Party Manifesto


Posts: 92 | Registered: Aug 2001  |  IP: Logged
h_lina_k
Junior Member
Member # 713

posted December 15, 2003 01:55 PM      Profile for h_lina_k   Email h_lina_k   Send New Private Message      Edit/Delete Post  Reply With Quote 
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.
Posts: 1 | From: dc | Registered: Dec 2003  |  IP: Logged
apex
Administrator
Member # 1

posted February 19, 2004 02:56 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
at the end of your cron entry, add:

code:
>/dev/null 2>&1


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2