Page 1 of 1

Scheduler - Disable/Enable, Change number of connections

Posted: March 28th, 2012, 6:34 pm
by bdawg
I love the scheduler in SABnzbd. It's so simple yet is very powerful. I would love to see the scheduler have functionality included to schedule a change in total number of connections to a usenet server, as well as some more basic things like enabling/disabling the scheduler function.

I (and many others in Australia) are on an ISP that offers plans with a Peak and Off Peak bandwidth limits. For example, I have a 500GB plan which consists of 150GB On Peak and 350GB Off Peak. So throughout the month, I can download 150GB between the hours of 9am to 1am (16 hours of Peak), and then 350GB between 1am and 9am (8 hours of Off Peak).

So, I have three feature requests to do with the scheduler - I think the first two would be easier than the third.

1. A disable/enable scheduler - A button that disables or enables the entire scheduling component would be excellent.

2. A disable/enable button for each rule.

The reason why I would like this is to save people in my position from having to create the rules again from scratch each time we hit our peak and off peak limit.

So, the third...

3. Ability to schedule a reduction/increase in connections to usenet server
Here's the tricky one. When I hit my peak cap, I get "shaped" from around 20MBit per second to around 4Mbit (most people get shaped to 1Mbit or less). So, this can equate to anywhere between 100KBps to 500KBps transfer speed.

Now, it is still fine to keep downloading at this speed, as I don't have any extra charges for downloading after my peak (just the speed limitation). But I normally have my connection count up to 20. When I get shaped, with 20 connections at 500KBps, it severely decreases my browsing experience and my girlfriend hates life.

I wouldn't even mind changing it once a month (after I hit my Peak limit), however, here's the catch - if I change it down to say, 4 connections, when it hits 1am and my Off Peak period starts, my download speeds don't go much higher than 600-700KBps, when I usually download around 1800 KBps or so.

I have tried to create new server entries with a different number of connections, but I can't seem to schedule enable/disable of them, only disable.

If you need anything clarified, pleaes let me know.

Re: Scheduler - Disable/Enable, Change number of connections

Posted: March 29th, 2012, 1:56 am
by sander
I think you can already realise #3 right now:

Define your newsserver with the basic number of connections, for example 2. This server should always be on / enabled, so no mentioning of it in the scheduler.
Add exactly the same newsserver with the extra number of connections, for example 4. SABnzbd will add the entry "@1" after its name. This server should be in the scheduler: on at 01:00, off at 09:00.
The result is 2 connections during peak hours, and 2+4=6 connections during night hours.


HTH

Re: Scheduler - Disable/Enable, Change number of connections

Posted: March 29th, 2012, 1:53 pm
by shypike
bdawg wrote: I have tried to create new server entries with a different number of connections, but I can't seem to schedule enable/disable of them, only disable.
This does work. When you select a server name in the scheduler, you need to enter 0 or 1 in the value box below.