Page 1 of 1

(WIN) WOL (wake-on-lan) batch not working with sickbeard

Posted: February 22nd, 2011, 2:23 pm
by coopooc
Ok, I wrote what I figured would be an easy little script to send a magic packet to my NAS, wait a bit and then send things along to sabtosickbeard.exe.

Apparently I'm missing something though. I'm guessing SAB usually sends along some variables and my batch messes that up. I get the "folder not supplied" warning. Anyone have experience with something like this on windows? I've found some python scripts that do this but I need it in windows. Anyway, here's the simple script I have now.

Code: Select all

@echo off
"c:\Program Files\SABnzbd\scripts\wolcmd.exe" MACADDRESSHERE 192.168.0.152 255.255.255.0
ping -n 11 127.0.0.1 > nul
"c:\Program Files\SABnzbd\scripts\sabToSickBeard.exe"

Re: (WIN) WOL (wake-on-lan) batch not working with sickbeard

Posted: February 26th, 2011, 2:28 pm
by relman
its because you are not passing all the info to the SabToSickbeard.exe  make the change below and it should work.

Code: Select all

@echo off
"c:\Program Files\SABnzbd\scripts\wolcmd.exe" MACADDRESSHERE 192.168.0.152 255.255.255.0
ping -n 11 127.0.0.1 > nul
"c:\Program Files\SABnzbd\scripts\sabToSickBeard.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9