Within Addigy, we provide a strong toolset for creating and deploying scripts. To create and execute a Saved Script on multiple machines, follow this simple workflow.


Creating A New Script

Step 1: Navigate to Devices.

Step 2: Click the Manage button next to the text-box labeled Run Command, this will open the Saved Scripts window.



Step 3: Name your script (required) to identify it later, Tag it with categories (required) for your command to be easily found later, and copy and paste (or write from scratch) the Bash script under Bash File Content textbox.


Step 4: Click Create to save this script.




Your newly-saved script will appear on the left column with it's appropriate tags that you gave it, as seen below.



Running Saved Scripts


Option 1: Saved Scripts Window


Step 1: On the Saved Scripts window, click the Green Icon on the left column to select the script for deploymentThis script will then populate the Run Command textbox back on the devices page.

Step 2: Select the devices you wish send the script to using the Checkmarks to the left of the device. (You may also select all devices by using the topmost checkmark).

Step 3: Click the Send button to run the script on all devices selected.




Option 2: Devices Page


Step 1: On the Devices page, click the Run Command textbox to bring up the list of your Saved Scripts and select the one you wish to execute.

Step 2: Select the devices you wish send the script to using the Checkmarks to the left of the device. (You may also select all devices by using the topmost checkmark).

Step 3: Click the Send button to run the script on all devices selected.



A Job Details window will pop up to show real-time results of the command(s). You can click the status bar and click View in each device's row to see the standard output and error of the command.


Note, the status bar will appear yellow when a command is pending, red when there is an error, or green when it is successsful.



Additionally you may open the Job Details window again by click the History button.