Overview

The Schedule Script feature allows you to automate running scripts at specified times. Once a script is created, you can configure it to run automatically according to your desired schedule. Following are the benefits:

  • Consistency: Ensures scripts run reliably and on time.
  • Efficiency: Saves time by automating repetitive tasks.
  • Flexibility: Supports a wide range of scheduling options to suit different needs.
  • Reliability: Reduces the risk of human error in time-sensitive operations.

How to Schedule a Script

If you want to schedule a script to run automatically, follow the below steps:

  1. Hover over the created script and click the ellipsis () on the right side.
  2. Select Schedule from the menu.
    patch management
  3. In the SCHEDULE - SCRIPTS screen, enter the following details:
SectionField NameDescriptionField Type
General DetailsNameEnter the name for the script.Text
RunSelect UserSelect the user who will run the script. Options are "Default User" or "Other User".Checkbox
ResourcesResourcesSelect the resources on which the script will be run.Dropdown
ScheduleSchedule DetailsChoose the schedule details for running the script. Options are "None", "One Time", "Daily", "Weekly", "Monthly".Radio Button
Queue JobSelect the checkbox if you want to queue the job.Checkbox

About Queue Job Functionality

The Queue Job feature automatically executes specific queued tasks whenever the Agent service is restarted. If jobs are in the queue list and the Agent is in a stopped state at the scheduled execution time, this feature helps ensure that critical operations are not missed during Agent downtime.

When Does the Queue Job Run?

  • The Queue Job is triggered only when the agent service is restarted.
  • It does not run during regular offline/online events, such as network reconnects.
  • If the agent temporarily goes offline and then comes back online without a full service restart, the Queue Job will not execute.
patch management
  1. Once configured, click SCHEDULE SCRIPT to save it.

Manage the Scheduled Scripts

To manage existing scheduled scripts:

  1. Click SCHEDULE SCRIPT on the right side of the main script page.
    patch management
  2. You will see a list of scheduled scripts.
  3. Hover over any script and click the ellipsis (…) on the right side to access management options:
ActionDescription
Assign ResourcesAdd resources to the script.
EditModify the schedule or script settings.
Run NowExecute the script immediately, regardless of schedule.
RemoveDelete the scheduled script.
Unassign ResourcesRemove previously assigned resources from the script
patch management