running multiple scripts?
running multiple scripts?
It is possible to have SAB to run multiple post-processing scripts?
Re: running multiple scripts?
Per category ?
Or after each other ??
Or after each other ??
Re: running multiple scripts?
Create a script that calls other scripts. If you are on linux:
# Running multiple scripts from 1 script
This is also easy. You can do 2 things. First the easiest:
1. Blank textfile, #!/usr/bin/env bash @ top and the following lines in the script:
./path/toscript/one/scriptname1
./path/toscript/two/scriptname2 &&
./and/so/on.
2. Copy all text in all scripts, put the code from script one in function1, script two in function 2 etc. (watch out with variables here by the way).
If you put && after an executescriptcommand the next command will only be started if the previous one was succesful (see example scriptname2).
(more in this topic: http://forums.sabnzbd.org/index.php?PHP ... pic=6203.0)
# Running multiple scripts from 1 script
This is also easy. You can do 2 things. First the easiest:
1. Blank textfile, #!/usr/bin/env bash @ top and the following lines in the script:
./path/toscript/one/scriptname1
./path/toscript/two/scriptname2 &&
./and/so/on.
2. Copy all text in all scripts, put the code from script one in function1, script two in function 2 etc. (watch out with variables here by the way).
If you put && after an executescriptcommand the next command will only be started if the previous one was succesful (see example scriptname2).
(more in this topic: http://forums.sabnzbd.org/index.php?PHP ... pic=6203.0)
Re: running multiple scripts?
Can anyone offer a little guidance on how to accomplish this in windows? I've tried using both batch files and python to call multiple scripts but haven't been able to get it to successfully pass the parameters.
Re: running multiple scripts?
Yea, I'm running in to this same issue as well. I wish to use the sabtosickbeard.exe script as well as run a YAMJ script in Windows each time SABNZBD downloads something. Is this not possible?
Re: running multiple scripts?
JPW you can run multiple scripts with Sickbeard. All you have to do is put the path to the Extra script in the config.ini manully.JPW wrote:Yea, I'm running in to this same issue as well. I wish to use the sabtosickbeard.exe script as well as run a YAMJ script in Windows each time SABNZBD downloads something. Is this not possible?
here is a link explaining the process.
http://code.google.com/p/sickbeard/wiki ... edSettings.
Hey dougwt,dougwt wrote:Can anyone offer a little guidance on how to accomplish this in windows? I've tried using both batch files and python to call multiple scripts but haven't been able to get it to successfully pass the parameters.
I'll try to help but your going to have to give me more info. You are trying to pass parameters which parameter are you talking about and what multiple scripts are you trying to run.
Just trying to help
J03