WOL before download starts

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
Orbi
Newbie
Newbie
Posts: 16
Joined: February 26th, 2010, 3:34 am

WOL before download starts

Post by Orbi »

Hi,

I have sickbeard and sabnzbd running on arch linux. Sabnzbd temp and completed folder are stored on my unraid server.

This all works well as long as the server is on, but obviously would fail if the server is asleep. I'd like to reduce my power consumption by putting my server to sleep when it's not being used. Is there any way I can send a magic packet to the server as soon as a download is added to the queue?

I know there is the functionality of pre-queue scripts, but can it be used to send a magic packet?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: WOL before download starts

Post by shypike »

First of all, your temp folder shouldn't be on the server, that's asking for trouble.
Using it only as final destination is OK.
A pre-queue script could indeed be helpful, provided you can find a tool to send a WOL package.
The remaining risk is that download and repair take so long that the server falls asleep again.
Orbi
Newbie
Newbie
Posts: 16
Joined: February 26th, 2010, 3:34 am

Re: WOL before download starts

Post by Orbi »

Thanks for answering.

The problem is that for big downloads, the flash card on my cubox is too small to be used as a temp folder. The temp folder on my server would be located on the cache drive, why would that be asking for trouble?

I could use wol to send the magic packet. What do you think?

About the download and repair time, I can include the condition that all disks should be spun down before the sleep script on my server kicks in.
User avatar
sander
Release Testers
Release Testers
Posts: 8847
Joined: January 22nd, 2008, 2:22 pm

Re: WOL before download starts

Post by sander »

#wol ... have you tried? We can't guess or try from here.

But, above all, why don't you run SABnzbd on your unraid server itself?
Post Reply