Running the SNS CLI script in command line

From the command line interface, you can:

  • add a script in the script folder on the SMC server and run it immediately.
  • run a script that has already been stored on the SMC server,
  • add a script in the script folder on the SMC server.
  • delete a script from the script folder on the SMC server,
  • show the list of scripts stored on the SMC server.

The main command smc-sns-cli-script must be followed by one of the five commands corresponding to these actions.

The scripts storage repository is named nsrpc-scripts and is available from /data/users/.