aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Scheduled downloads / uploads  (Read 3414 times)

martinlong1978

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Scheduled downloads / uploads
« on: April 21, 2007, 12:22:28 AM »

I've set up a daemon on my Linux box, and connect to it from my laptop using the Windows client. This all works great.

Now, I have a pay-as-you-go broadband account. I get free usage from midnight to 8am, so I like all of my downloads to take place during that time, so I created some cron scripts.

One to start:

amulecmd  -c Connect
amulecmd  -c "resume all"

and one to stop:

amulecmd -c Disconnect
amulecmd -c "pause all"

Seems simple enough, it stops my downloads in the morning, but I can still connect my client to search for new stuff and add it to the list (paused of course).

However, I get charged for both my upstream and downstream traffic, and I've noticed that even if I disconnect from the server and pause all downloads, amule continues to share the files, and peers can continue to download from me. I've found no way of stopping this.

I've tried all manner of firewall rules, but these all have the side effect of stopping me from doing searches.

Is there anyway I can prevent ALL upload AND download traffic during normal hours, but still allow searches (kad and server, or just kad would do)?

Any ideas?

Thanks

Martin


Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Scheduled downloads / uploads
« Reply #1 on: April 21, 2007, 01:48:15 AM »

There's no way. Shared files are... well. Shared.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Scheduled downloads / uploads
« Reply #2 on: April 21, 2007, 06:41:19 AM »

Sure there is a way. Close aMule and open it only from midnight to 8AM. ;)

Other than that, just what Kry said.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Scheduled downloads / uploads
« Reply #3 on: April 21, 2007, 08:36:29 AM »

Well, the closest would be reducing the upload speed to 1KB/s during the 'pay-time'.
Caution: This will limit your download to 3KB/s, you have to adjust both, the upload and the download for your happy hours.
Logged

senne

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Scheduled downloads / uploads
« Reply #4 on: April 21, 2007, 11:04:02 PM »

here's a dirty solution

continue your firewalled schedule
and run a "search only" amule in another port ;D
Logged

martinlong1978

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Scheduled downloads / uploads
« Reply #5 on: April 22, 2007, 08:31:54 PM »

Many thanks for the help. I'll see how I go throttling the bandwidth... I'll put them both down to 1K because I won't want to be downloading at those times either. I've done the sums, and that shouldn't cost me a great deal.

Thanks guys.
Logged