Kaspersky SD-WAN

Running scheduled tasks on CPE devices

Kaspersky SD-WAN supports running scheduled tasks on CPE devices. Unlike standard tasks, scheduled tasks run at a specified time instead of immediately. You can use tags to group CPE devices on which you want to run a scheduled task.

Two types of scheduled tasks exist:

When you create a scheduled task, it uses the time zone of the virtual machine on which the orchestrator is deployed. 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 CPE device is 6:00 p.m.

We recommend taking into account the following special considerations when managing scheduled tasks:

  • A 10-second inaccuracy is considered acceptable for the moment when the scheduled task is run.
  • If multiple scheduled tasks exist, they run simultaneously. If the orchestrator cannot run all scheduled tasks simultaneously, they are run in the order they were created.
  • Deleting a CPE template automatically deletes all scheduled tasks associated with it.
  • Deleting a CPE device automatically deletes all scheduled tasks associated with it.
  • When deleting a script associated with scheduled tasks, this action requires additional confirmation. If you confirm the action, the script is deleted and cannot be run within the created scheduled tasks.

You can manually run scheduled tasks that have not yet been run.

The table of scheduled tasks is displayed in the Scheduler section. Information about scheduled tasks is displayed in the following columns of the table:

  • ID is the ID of the scheduled task.
  • Name is the name of the scheduled task.
  • User is the name of the user which created the scheduled task.
  • Created is the date and time when the scheduled task was created.
  • Status is the status of the scheduled task:
    • Done means the scheduled task has been completed successfully.
    • Error means an error occurred while running the scheduled task.
    • Pending means the scheduled task is placed in the orchestrator database and is awaiting execution.
    • Queued means the scheduled task is queued for execution.
    • Running means the scheduled task is running.
  • Scheduled is the date and time when the scheduled task was run.

The actions that you can perform with the table are described in the Managing solution component tables instructions.

In this Help section

Creating a scheduled task

Manually running a scheduled task

Deleting a scheduled task

Page top
[Topic 247764]

Creating a scheduled task

To create a scheduled task:

  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. Specify the settings of the scheduled task. For a description of scheduled task settings, see the following instructions:
  4. Click Create.

The scheduled task is created and displayed in the table.

Page top
[Topic 256378]

Manually running a scheduled task

To manually run a scheduled task:

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

    The table of scheduled tasks is displayed.

  2. To manually run an individual scheduled task:
    1. Click the scheduled task that you want to manually run.

      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 icon .

    2. In the upper part of the settings area, under Actions, click Run now.
  3. To manually run multiple scheduled tasks:
    1. Select check boxes next to scheduled tasks that you want to manually run.
    2. In the upper part of the table, click Actions → Run now.
  4. In the confirmation window, click Run now.

The scheduled tasks are completed, and their status in the Status column changes to Done.

Page top
[Topic 256371]

Deleting a scheduled task

Deleted scheduled tasks cannot be restored.

To delete a scheduled task:

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

    The table of scheduled tasks is displayed.

  2. To delete an individual scheduled task:
    1. Click the scheduled task that you want to delete.

      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 icon .

    2. In the upper part of the settings area, under Actions, click Delete.
  3. To delete multiple scheduled tasks:
    1. Select check boxes next to scheduled tasks that you want to delete.
    2. In the upper part of the table, click Actions → Delete.
  4. In the confirmation window, click Delete.

The scheduled tasks are deleted and are no longer displayed in the table.

Page top
[Topic 256374]