The scheduler creates delayed tasks that allow running scripts on CPE devices at a specified time. When creating a delayed task, you must select a CPE template, scripts, and devices on which you want to run the scripts. You can run scripts on all devices that use the CPE template, or restrict the number of devices by manually selecting them or specifying certain tags.
For delayed running of scripts, use the following instructions:
To create a delayed task to run scripts on all devices that use the CPE template:
In the menu, go to the Scheduler section.
The table of delayed tasks is displayed.
In the upper part of the page, click + Delayed 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 delayed task.
In the CPEs to run script on drop-down list, select All CPEs with selected template.
Under CPE template, select a CPE template.
Under Scripts, select the scripts that you want to run.
In the Completion date and time field, enter the date and time when you want to run the delayed task. By default, the date and time specified is the date and time when you started creating the delayed task.
Click Create.
A delayed task for running the script is created and displayed in the table.
You can group the CPE devices on which you want to run the scripts by assigning them the same tag, and then proceed to create a delayed task.
To create a delayed task to run scripts on devices that have specific tags and use the CPE template:
In the menu, go to the Scheduler section.
The table of delayed tasks is displayed.
In the upper part of the page, click + Delayed 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 delayed task.
In the CPEs to run script on drop-down list, select All CPEs with selected template and specific tags.
Under CPE template, select a CPE template.
Under Scripts, select the scripts that you want to run.
In the Tags field, specify the tags assigned to the CPE devices on which you want to run the scripts.
In the Completion date and time field, enter the date and time when you want to run the delayed task. By default, the date and time specified is the date and time when you started creating the delayed task.
Click Create.
A delayed task for running the script is created and displayed in the table.
To create a delayed task to run scripts on individual devices that use the CPE template:
In the menu, go to the Scheduler section.
The table of delayed tasks is displayed.
In the upper part of the page, click + Delayed 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 delayed task.
In the CPEs to run script on drop-down list, select Specific CPEs with selected template.
Under CPE template, select a CPE template.
Under Scripts, select the scripts that you want to run.
Under CPEs, select the CPE devices on which you want to run the scripts.
In the Completion date and time field, enter the date and time when you want to run the delayed task. By default, the date and time specified is the date and time when you started creating the delayed task.
Click Create.
A delayed task for running the script is created and displayed in the table.