Schedule the Execution of a Configuration Script

A script is a set of configuration commands, stored in a single text file. When you want to execute the same script on multiple devices, you can create the script once in
Management Center
and then execute it on all devices on which you want to put that configuration. To accomplish this goal, you create and test the script on a single device, and then create a job to execute the script on selected targets.

Before You Begin

  1. (Optional) Create a device group for the devices the configuration script will be executed on. See Add a Device Group.
  2. (Optional) Import all or part of a configuration from one of your devices. See Import Script from a Device.
  3. Test the script by executing it on one device. See Create and Distribute Configurations Using Scripts.

Schedule Script Execution

When you have completed the tasks in Before You Begin, you are ready to create a job to execute the script on multiple devices.
  1. Select
    Jobs > Add > New Job
  2. On the
    Add New Job
    page, select
    Execute Script
  3. Configuration
    • Click
      to select one or more scripts to execute.
    • Runs on
      displays the compatible devices the script can run on.
      scripts can run on Advanced Secure Gateway (ASG) appliances, but ASG scripts will not run on
      appliances. Therefore, if you include one ASG script and one
      script, the system displays only ASG targets.
    • If you select
      Continue on Fail
      , the job will continue to run even if that script execution fails.
    • Continue on Warning
      is selected by default.
  4. Targets
    • Select the
    • Add multiple devices or device groups by selecting the check box next to the names of devices or device groups.
    • Targets are filtered based on the operations that are chosen. That is, if an operation does not apply to a device, the system does not display those devices.
    • If you select a device group, when the job runs it filters out any devices that do not support all of the selected operations.
    • All selected targets appear in
      Selected Targets
  5. Job Results
    • (Optional)—Click
      Email results
      and select the condition. Then, enter the email address(s) of the recipient(s).
  6. Schedule
    Choose to trigger job execution using a Schedule or an Event.
    when you want to run the job now or trigger the job execution at a specific time.
    • Immediate
      —automatically runs the job after it is created
    • No Schedule
      —no specific time or day is specified; when you are ready to run the job, use the
      Run Now
      button to manually execute the job
    • Run Once Only
      —specify the date and time to run the job
    • Periodic
      —runs the job every
      number of minutes, hours, or days, starting at the specified time and date
    • Daily
      —runs the job every day at the specified time
    • Monthly
      —runs the job once a month on the specified day of the month and specified time of day
    when you want to trigger the job execution when something happens, such as adding a device to a specific group. You can select one or more of the following events:
    • Device added to
      Management Center
    • Device added to Group
    • Device removed from Group
    If you select more than one event type, the job runs if
    of the conditions are met and the device is an appropriate target. See note below.
  7. Name
    • Verify or change the name and add an optional description.
  8. Click
Management Center
runs the script execution job, confirm that the script was executed on the target devices.