aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Upload/download scheduller  (Read 4726 times)

Amadeussss

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Trying to learn how to work with Linux, it's harder than windows but more stable.
Upload/download scheduller
« on: January 18, 2005, 07:26:39 PM »

I have two computers with emule/amule installed, it would be interesting to automatically switch speeds every other day so they never run full speed at the same time.
Logged

hannibal218bc

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: Upload/download scheduller
« Reply #1 on: January 30, 2005, 07:11:16 PM »

You can use amulecmd and a cron job to accomplish that. Please note that you need rc8 to set bandwidth limits via amulecmd.

lg,
-h
Logged

rickympl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
How?
« Reply #2 on: April 12, 2005, 11:58:25 AM »

Quote
Originally posted by hannibal218bc
You can use amulecmd and a cron job to accomplish that. Please note that you need rc8 to set bandwidth limits via amulecmd.

lg,
-h

Sorry for being a lamer, but i'm not exactly a linux guru. Could you explain to me how to use those progs to schedule the limit the speed on amule.  For instance how would i limit the download to 2Kb/s Mon-Fri between 8:30AM to 9:15PM


Thanks

Ricky
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Upload/download scheduller
« Reply #3 on: April 13, 2005, 08:57:11 AM »

For this task you have to add these two lines to your crontab file:

Code: [Select]
30 8 * * 1 amulecmd -c "setdownbwlimit 2"
15 21 * * 4 amulecmd -c "setdownbwlimit "
Note, that you have to use "crontab -e" to edit your crontab file.
You also have to have cron installed and running.

For more information, see "man 5 crontab" and "man amulecmd".
Logged
concordia cum veritate

rickympl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Upload/download scheduller
« Reply #4 on: April 13, 2005, 11:03:59 AM »

Thank you, i will try this.
Logged