Creating a daily process

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
spammy
Newbie
Newbie
Posts: 9
Joined: May 7th, 2009, 9:37 am

Creating a daily process

Post by spammy »

So what are the current strategies for a daily scheduled download on a Vista machine? I've been looking at Sabnzbd+ and nzbtv/episodebutler but am not sure I can get it exactly right. Assuming the target machine is asleep, what I simply want to happen is:

1) wake up at 6am daily (or some other schedule).
2) check for new available episodes (using nzbtv or episodebutler).
3) if any available ask Sabnzbd to get them.
4) go back to sleep after download completes, or straight away if nothing new is available.

Also I've noticed that the "Standby after queue" option on sabnzb+ puts my machine to hibernate rather than sleep. Any ideas with that?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Creating a daily process

Post by shypike »

1) Getting the computer on is your problem  ;)

2) Define RSS feeds

3) Make sure you have the feeds enabled for automatic retrieval and set the interval to 15 mins

4) If download completes, SABnzbd will happily shutdown the system

When 3) delivers nothing, the queue will not become empty, therefore no standby/hibernate etc.

I don't think it's possible to put the whole solution inside SABnzbd.
However, it possible to write a script that controls SABnzbd through its API calls (with curl or wget).

Your last remark (standby causes hibernate): this is probably caused by an incorrect
Windows Power configuration. Is "Standby" enabled at all?
spammy
Newbie
Newbie
Posts: 9
Joined: May 7th, 2009, 9:37 am

Re: Creating a daily process

Post by spammy »

Hmm yeh I figured all that. I think I can get the BIOS to wake up the PC at set intervals, but it's the sleeping again that's the issue. Perhaps NZBTV/EB has some kind of indication of success?

I use vista and usually just send my pc to sleep. No hibernate, no hybrid. It works fine when I do it manually (I resume immediately) but if done via Sabnzbd it goes through POST and all. I've seen this in other "auto sleep" apps (most notebly altbinz) so I'm sure it's a common problem.

I think I'll just be waking and sleeping it myself then!
Eejit
Sr. Member
Sr. Member
Posts: 267
Joined: September 10th, 2008, 5:46 pm

Re: Creating a daily process

Post by Eejit »

shypike wrote: 1) Getting the computer on is your problem  ;)
...and the answer to that part of the problem could be here http://www.winvistaclub.com/t86.html
Eejit - The name say's it all !!
Image
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Creating a daily process

Post by shypike »

spammy wrote: I've seen this in other "auto sleep" apps (most notebly altbinz) so I'm sure it's a common problem.
We use the standard Windows API calls for standby and hiberate...
Post Reply