Page 1 of 1

Run a postprocess on failure?

Posted: March 4th, 2013, 2:47 pm
by psycik
Is it possible to specify a script to run on failure?

I've got an idea kicking around where a failed nzb download would send something back to an indexer site, and if there was a failure post processing hook it would makes integration easier...

Re: Run a postprocess on failure?

Posted: March 4th, 2013, 2:58 pm
by shypike
Yes: disable the option "Post-Process Only Verified Jobs" in Config->Switches.
In that case SABnzbd will attempt to unpack even failing jobs and run the script,
but it will also report the failure in parameter 7.
More info: http://wiki.sabnzbd.org/user-scripts