Page 1 of 1

Scheduler extention - Day of month...

Posted: July 8th, 2010, 3:24 am
by psycik
Any chance the scheduler could be extended to allow the days of the month as a start stop action?

Something like.... 25th of the month, set speed limit to 400kbps, 01 of the month set speed limit to 0kpbs.

I want to run sabnzbd for it to queue stuff up, but not actually process any of it till later in the month.

Couldn't think of any other way of doing this - as I like using the RSS feeds to select stuff to download.

Re: Scheduler extention - Day of month...

Posted: July 8th, 2010, 5:15 am
by shypike
The scheduler that we use doesn't support this and it would be
simply too much work to add it.
You can try a combination of an API call from a script and have
the operating system scheduler run it.

Re: Scheduler extention - Day of month...

Posted: July 8th, 2010, 3:08 pm
by psycik
Almost thought similar to myself,

Can the API pause/unpause individual queue entries, or only the whole system?

Thinking I may write a helper app that only unpauses certain things.

Re: Scheduler extention - Day of month...

Posted: July 8th, 2010, 5:20 pm
by shypike
Full pause/resume is easy.
Pausing individual items is possible, but rather complicated.
It will cost you multiple API calls.
API documentation (a bit poor still): http://wiki.sabnzbd.org/api

Re: Scheduler extention - Day of month...

Posted: July 8th, 2010, 5:53 pm
by psycik
Any other ways you can think I can do it?

Essentially, my internet plan is being cut from unlimited (where I use approx 100gb )  to 20gb.

So for one category I'm happy with it to d/l all month.

Every other category, I'd like ot hold it untill the end of the month and then let it go.

I normally use the RSS feeds to choose stuff to download, with the one category (to go all month) being scheduled).

Re: Scheduler extention - Day of month...

Posted: July 9th, 2010, 2:41 am
by shypike
Not really.
In a future release we might add an option to add jobs in paused mode.