Page 1 of 1

Re-run a post-processing script?

Posted: November 6th, 2011, 5:50 pm
by astatine
Hi,

I'm currently trying to tweak/alter my post-processing scripts. While doing this they sometimes fail. Is there an easy way to rerun the scripts within sabnzbd's UI? I have noticed there's a "Retry" option for items that have failed their repair. I'm using version 0.6.10 Thanks.

Re: Re-run a post-processing script?

Posted: November 7th, 2011, 1:17 pm
by shypike
No, not possible because SABnzbd will have removed all info it has about the job,
except for some traces in History.
You can run it from the command line with some basic parameters filled in.

Re: Re-run a post-processing script?

Posted: March 29th, 2023, 6:49 pm
by arrrghhh
Is this still true? I am coming from nzbget and it was quite convenient to 'retry' a post-process script if the download was successful but post-processing was not.

Or is there a way in the logs to see what parameters are used to run the PP script? I don't see that in the logs that I have looked at...

Re: Re-run a post-processing script?

Posted: April 9th, 2023, 2:38 pm
by safihre
There is no way to specifically re-run just the script, only the whole post-processing, which will in turn run the script.
Only if the download failed though.
If you enable Debug logging, the parameters and env-variables will be logged.

Re: Re-run a post-processing script?

Posted: April 9th, 2023, 11:24 pm
by tagwolf
You would need to create your own script that checked the result of the script and reran it if you didn't get the result you wanted. Run that script in sab instead of the main one. This is a very deep topic so if you are interested in it you should look into learning python or another language.