Re-run a post-processing script?

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
astatine
Newbie
Newbie
Posts: 1
Joined: November 6th, 2011, 5:45 pm

Re-run a post-processing script?

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Re-run a post-processing script?

Post 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.
arrrghhh
Newbie
Newbie
Posts: 1
Joined: March 29th, 2023, 6:48 pm

Re: Re-run a post-processing script?

Post 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...
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Re-run a post-processing script?

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
tagwolf
Newbie
Newbie
Posts: 10
Joined: April 8th, 2023, 11:56 pm

Re: Re-run a post-processing script?

Post 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.
Post Reply