Overview:
Atera now supports running Bash script files for Mac stations both via running an ad-hoc script or by adding scripts to a Profile.
Scripts can be created either by uploading an existing script, or by creating one online using the HTML editor in the Create Scripts form.
To learn how to:
- Create a Bash Script Online
- Upload a Bash Script
- Run a Bash Script either directly from an Agent, or via an IT Automation Profile
follow the steps below:
Create a Bash Script Online |
1. From the left-hand panel click Admin > Scripts |
The Scripts page displays. |
2. Click on Create Script |
The Create Script window displays. |
![]() |
4. Enter the Script Parameters:
|
You can paste into this field from your preferred text/script/html editor. |
5. Click Create |
The script creation success message displays - you can now run and schedule the script in Atera. |
Upload a Bash Script
|
1. From the left-hand panel click Admin > Scripts |
The Scripts page displays. Click on Upload Script |
![]() |
The Upload Script dialog box displays. |
![]() |
3. Upload the script file from your Mac and click Upload |
Run a Bash Script Ad Hoc (Send Direct to Mac Agent)
|
1. Navigate to the required Agent either directly from the devices tab on the left-hand panel, or via the Customer form. |
![]() |
2. Click the Manage dropdown, then click Run Script |
The Run Script window displays. |
![]() |
3. Select the required Bash script(s) and click Submit |
Only Mac supported scripts are displayed. |
The script is sent to the Agent and a confirmation message is displayed. |
![]() |
Run a Bash Script via IT Automation Profile
|
1. From the left-hand panel click Admin > Patch Mgmt & IT Automation Management |
The Patch Mgmt & IT Automation page displays. |
![]() |
2. Select the required profile |
The Profile page displays. Scroll to the bottom right of the screen to view the Scripts region. |
![]() |
3. Click Select |
The Select Script window displays. |
![]() |
4. Select the Bash script and click Submit |
The script is added to the profile. |
![]() |
Still have a question? Contact us