Contents
Task scheduler
Kaspersky SD-WAN supports using the scheduler to delay the running of tasks. You can use tags to group CPE devices to delay tasks on those devices.
The following types of delayed tasks are supported:
- Running scripts on CPE devices. You must first add the scripts that you want to run to the CPE template.
- Updating firmware on CPE devices. You must first upload the firmware that you want to install to the orchestrator web interface.
When you schedule a delayed task, Kaspersky SD-WAN uses the time zone of the orchestrator host. For example, if you schedule a script to run on a CPE device at 2:00 p.m., the script runs at 2:00 p.m. in the time zone of the orchestrator, even if the time on the device is 6:00 p.m.
When configuring delayed running of tasks, consider the following:
- A 10-second inaccuracy is considered acceptable for the moment when the task is run.
- If a task does not run because the orchestrator is not available at the scheduled time, the task is displayed with the Error status.
- If multiple CPE device configuration tasks exist, they are performed in parallel. If the orchestrator cannot run all tasks in parallel, they are run in the order they were created.
- If you delete a CPE template that has associated tasks, the tasks are also deleted.
- If you delete a CPE device that has associated tasks, the tasks are also deleted.
- When you try to delete a script that is associated with tasks, you must additionally confirm this action.
You can manually run delayed tasks that have not yet been run.
Creating a delayed task
To create a delayed task:
- 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, select one of the following values:
- Script execution — Delayed script run task.
- Delayed firmware update — Delayed firmware update task.
- Specify the settings of the delayed task. For a description of delayed task settings, see the following instructions:
- Click Create.
The delayed task is created and displayed in the table.
Page topExecuting a delayed task manually
To manually run a delayed task:
- In the menu, go to the Scheduler section.
The table of delayed tasks is displayed.
- If necessary, run an individual delayed task:
- Click the delayed task.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- In the upper part of the settings area, under Actions click Run now.
- Click the delayed task.
- If necessary, run multiple delayed tasks at the same time:
- Select the check boxes next to delayed tasks.
- In the upper part of the page, in the Actions drop-down box, select Run now.
- In the confirmation window, click Run now.
One or multiple delayed tasks are run and their status in the table changes to Executed.
Page topDeleting a delayed task
Deleted delayed tasks cannot be restored.
To delete a delayed task:
- In the menu, go to the Scheduler section.
The table of delayed tasks is displayed.
- If necessary, delete an individual delayed task:
- Click the delayed task.
The settings area is displayed in the lower part of the page. You can expand the settings area to fill the entire page by clicking the expand button
.
- In the upper part of the settings area, under Actions click Delete.
- Click the delayed task.
- If necessary, delete multiple delayed tasks at the same time:
- Select the check boxes next to delayed tasks.
- In the upper part, in the Actions drop-down box, select Delete.
- In the confirmation window, click Delete.
One or more delayed tasks are deleted and are no longer displayed in the table.
Page top