Deploy the Script

You deploy scripts from the N-sight RMM Dashboard to one or multiple devices as Script Checks (24x7 or daily frequency) or as Automated Tasks.

The following steps cover adding a Script Check and adding an Automated Task on a single device. For information about adding a Script Check and an Automated Task on multiple devices, see Manage 24x7 or Daily Safety Checks and Manage Automated Tasks.

Add a Script Check

  1. On the N-sight RMM Dashboard, select the device in the North-pane
  2. Go to the Checks tab in the South-pane
  3. Select Add Check and the check frequency — Add 24x7 Check or Add DSC Check

  4. Select Script Check
  5. Select the target script and click Next

    Scripts are grouped by default script categories (if applicable) and User Defined Scripts depending on the Operating system. You can search for a target script, and select a script to view its description.

  6. Configure any Script Parameters settings, including the Command Line for custom scripts (if required)

    To prevent the removal of the leading 0 in arguments, any part of the command that begins with 0 is wrapped in \ so the full argument is preserved when executed or processed.

  7. Enter the Script timeout period in seconds
  8. To Run an Automated Task when a check fails, select Assign a Task after creating the Check
  9. Click Finish to save and apply
  10. If you selected Assign a Task after creating the Check:
    1. Select the Automated Task script and select Next to configure. The following example is for Windows Automated Tasks. Other task options display for Linux and macOS devices.

    2. Enter any required Command Line parameters or Script parameters and select Next
    3. Set maximum permitted execution time for the script (optional)
    4. Select Finish to save and apply

Add an Automated Task

Automated Tasks run based on the local time of the computer where the Agent is installed.

  1. On the N-sight RMM Dashboard, right-click the device in the North-pane and select Task > Add
  2. Select the script from the expandable sections that list the available scripts and click Next

    Only scripts that are uploaded for Automated Tasks and are associated with the device's Operating System are displayed.

  3. Enter a name for the task and enter any script parameters required for the selected Automated Task and select Next

    The following example shows the script parameters for the Active Directory Users Query task.

  4. Use Select Frequency Method to choose the frequency, select the Schedule Settings if required, and select Next
    ChoiceAction
    Once per daySelect the days to run the task and the time to run the task each day

    Select one day to run the task weekly.

    Once per monthSelect the day of the month to run the task and the time to run the task on that day
    On Check FailureSelect which Check failure will trigger the task to run, and select or enter additional settings if they are available in With These Settings...
    ManualSelect Manual to Run Automated Task On Demand. The task runs in near real-time and uploads the results within a few minutes of the task completing.
    Configure the frequency options
    ChoiceAction
    Run Task for a limited period

    (available for Once per day and Once per month )

    Select the Start Date and Start Time, and the End Date and End Time
    Set maximum permitted execution time

    (available for all frequencies)

    Enter the maximum Days, Hours and Minutes of run time before the Task is canceled
  5. Optionally, you can select Run task as soon as possible if schedule is missed (available for Once per day and Once per month frequencies)
  6. Run task as soon as possible if schedule is missed adheres to the Run Task for a limited period selection, and will not execute tasks outside of that window.

  7. Select Finish

What do you want to do?