Page 1 of 1
Creating a daily process
Posted: May 7th, 2009, 9:43 am
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?
Re: Creating a daily process
Posted: May 7th, 2009, 9:54 am
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?
Re: Creating a daily process
Posted: May 7th, 2009, 10:01 am
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!
Re: Creating a daily process
Posted: May 7th, 2009, 10:02 am
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
Re: Creating a daily process
Posted: May 7th, 2009, 11:58 am
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...