Scheduling scripts on CPE devices

Scheduled tasks for running scripts on CPE devices can be created in the task scheduler. When creating a scheduled task, you must select a CPE template, scripts, and CPE devices on which you want to run the scripts.

You can run scripts on all CPE devices that use a CPE template, or constrain the number of CPE devices by specifying tags or manually selecting CPE devices.

To create a scheduled task to run scripts on CPE devices:

  1. In the menu, go to the Scheduler section.

    The table of scheduled tasks is displayed.

  2. In the upper part of the page, click + Delayed task.
  3. This opens a window; in that window, in the Type drop-down list selectScript execution.
  4. In the Name field, enter the name of the scheduled task.
  5. In the CPEs to run script on drop-down list, select the CPE devices on which you want to run the script:
    • All CPEs with selected template to run the scripts on all CPE devices that use the CPE template.
    • All CPEs with selected template and specific tags to run the scripts on CPE devices that use the CPE template and have specific tags assigned. If you select this value, specify the CPE device tags in the Tags field.
    • Specific CPEs with selected template to run the scripts on all manually selected CPE devices that use the CPE template. If you select this value, select the CPE devices under CPEs.
  6. Under CPE template, select the CPE template that contains the scripts that you want to run.
  7. Under Scripts, select the scripts that you want to run.
  8. In the Completion date and time field, enter the date and time when you want to run the scheduled task. By default, the date and time specified is the date and time when you started creating the scheduled task.
  9. Click Create.

A scheduled task for running the script is created and displayed in the table. The status of the scheduled tasks is displayed in the Status column. If the scheduled task to run a script finishes successfully, its status changes to Done.

Page top