Page 1 of 1
Trouble running multiple instances
Posted: July 19th, 2011, 2:24 pm
by lockdown571
Hello, I'm trying to run two instances of Sabnzbd 0.6.5 on my Windows 7 computer with separate Sabnzbd.ini files. I see there is a "-new" command, and I think there is a way to select a separate ini file using "-f" as seen on this page:
http://sabnzbd.wikidot.com/command-line-parameters. However, I'm not really good with the command line. I've tried a number of different combinations but can't get it to work. Can someone show me what the command should look like? Thanks.
Re: Trouble running multiple instances
Posted: July 19th, 2011, 3:06 pm
by sander
First a question: why do you want to run multiple instances? I would only advice this if you know what you're doing.
Here's the HOWTO:
Open a terminal / CMD / COMMAND box.
CD to the directory containing SABNZBD.EXE
Type: "SABNZBD.EXE -f sab-instance1.ini" and fill out the wizard.
Open a second terminal, CD to the same directory, and then type "SABNZBD.EXE -f sab-instance2.ini" and fill out the wizard.
If that works, you can start the two instances after a reboot with the same method above (no wizard). Or you can create a shortcut on your desktop
Re: Trouble running multiple instances
Posted: July 19th, 2011, 3:09 pm
by shypike
use:
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to1\sabnzbd.ini
"c:\program files (x86)\sabnzbd\sabnzbd.exe" --new -f c:\path\to2\sabnzbd.ini
Note the double dash before "new".
Make sure you have different paths for the two instances.
(Use "c:\program files\sabnzbd\sabnzbd.exe" for 32bit Windows.)
Re: Trouble running multiple instances
Posted: July 19th, 2011, 4:32 pm
by lockdown571
Thanks! Worked perfectly. Fyi, the reason why I want two instances is because I want to use one of them strictly for streaming a la
http://forum.xbmc.org/showthread.php?p= ... post759174. One last question, and I know this isn't specific to sabnzbd, but how do you run a command automatically at startup? I'm having a bit of trouble finding a guide.
Re: Trouble running multiple instances
Posted: July 19th, 2011, 4:46 pm
by shypike
Re: Trouble running multiple instances
Posted: July 19th, 2011, 10:20 pm
by lockdown571
Perfect! I can't believe I haven't known about that tool until now. That's extremely useful.