Scheduler extention - Day of month...

Want something added? Ask for it here.
Post Reply
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Scheduler extention - Day of month...

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Scheduler extention - Day of month...

Post 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.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Scheduler extention - Day of month...

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Scheduler extention - Day of month...

Post 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
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Scheduler extention - Day of month...

Post 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).
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Scheduler extention - Day of month...

Post by shypike »

Not really.
In a future release we might add an option to add jobs in paused mode.
Post Reply