I am trying to run my own script via mgmt_cli tool and I am getting the following output:
statusDescription: "/tmp/rconfd-temp-script-iPZGST: line 1: Backup: command not found"
So, apparently there is something wrong (I am importing CP env btw) with the script execution and as far as I can see the tool creates some temp file (/tmp/rconfd-temp-script-iPZGST) that I suppose is exact copy of my script.
Problem is, that tempt script is automagically removed and I cannot inspect it. How to prevent that? Any command line option? Is some pre-processing made before temp file is generated?