Scheduled script execution tasks on CPE devices can be created in the task scheduler. When creating a 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 task to run scripts on CPE devices:
In the menu, go to the Scheduler section.
The table of scheduled tasks is displayed.
In the upper part of the page, click + Task.
This opens a window; in that window, in the Type drop-down list selectScript execution.
In the Name field, enter the name of the task.
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.
Under CPE template, select the CPE template that contains the scripts that you want to run.
Under Scripts, select the scripts that you want to run.
In the Scheduled task execution date field, enter the date and time when you want to run the task. By default, the date and time specified is the date and time when you started creating the task.
Click Create.
A scheduled script execution task is created and displayed in the table. The status of the tasks is displayed in the Status column. If the task to run a script finishes successfully, its status changes to Done.