[WBEL-users] Bittorrent seeds

Johnny Hughes mailing-lists@hughesjr.com
Wed, 18 Feb 2004 21:00:46 -0600


One last thing about the script ... in my crontab file I have to pass in
a terminal setting forthe script ... so it looked like this:

0 18 * * * TERM=dumb /usr/local/bin/start_wbel_bittorrent

(which would execute the script at 18:00 every day...) 

On Wed, 2004-02-18 at 19:06, Johnny Hughes wrote:
> I think a kill command would work ... I wrote a script (attached) ... I
> tested it and it works for me
> 
> 
> Substitute 6 for 8 in another script .... call one when you want to
> start the 8 kb/sec ... call the other when you want to start to 64
> kb/sec.
> 
> -Johnny Hughes
> 
> 
> On Wed, 2004-02-18 at 16:04, Eric Wood wrote:
> > Johnny Hughes wrote:
> > > All,
> > > If you have the iso's on your harddrive and already have bittorrent on
> > >
> > > btdownloadcurses.py -max_upload_rate 32
> > > http://whiteboxlinux.org/liberation-final-bins-good.torrent
> > 
> > I want to:
> > During the day:
> > 
> > kill `ps -e | grep btdownload| awk '{ $1 = $1; print }' |
> >  cut -f1 -d" "`
> > btdownloadheadless.py -max_upload_rate 8
> > http://whiteboxlinux.org/liberation-final-bins-good.torrent
> > 
> > During the night:
> > 
> > kill `ps -e | grep btdownload| awk '{ $1 = $1; print }' |
> >  cut -f1 -d" "`
> > btdownloadheadless.py -max_upload_rate 64
> > http://whiteboxlinux.org/liberation-final-bins-good.torrent
> > 
> > I can call this from cron.  Is there a more elegant way to close a headless
> > BT?
> > 
> > -eric wood
> > 
> > _______________________________________________
> > Whitebox-users mailing list
> > Whitebox-users@beau.org
> > http://beau.org/mailman/listinfo/whitebox-users
>