Run-script-after: Pass command line params to batch script

You cannot pass parameters to the script like this - it’s not currently supported.

One workaround is to create a wrapper script that calls your main script with the parameter you want. You then call the wrapper script from your backup job. You’d need one wrapper script for each unique parameter of course, so it’s not ideal.

Maybe an option can be added in the future to support script command line parameters.

1 Like