Page 1 of 1

Downloading the same stuff every day at a set time

Posted: November 4th, 2010, 6:43 am
by cqab
Hi, I'm downloading the same stuff every day just before I head out the door so there is only a short window of time where to do it. Ideally I'd like to automate this process so I can spend a few more minutes in bed. I've already got RSS and everything else working but I'm trying to set up a scheduled task that wakes the computer from hibernation, forces the RSS download (only needs to be downloaded once a day at a set time, rest of the day is on a metered 3G connection where I don't want to download any rss), processes the queue and then goes back to hibernation (to avoid running down the battery if it's not plugged in). I'm using 0.5.4 in Windows 7 on a netbook.  I've looked at the source code on the page behind the force download RSS button but can't see how you'd automate this on the command line.

One neat new feature that could help with this would be to include a force download rss items in the scheduler as an alternative to polling them at set intervals. This could be useful in other circumstances, too. All I'd have to do then is to wake and hibernate in the Windows scheduled tasks.

Any advice?

Re: Downloading the same stuff every day at a set time

Posted: November 4th, 2010, 7:45 am
by shypike
RSS is not included in the scheduler.
What you could do is restart SABnzbd at a scheduled time.
One RSS scan is forced at startup (and restart).
If you set the RSS interval to 24 hours it will not run again.