Kaspersky Standard | Plus | Premium

How to start, stop, pause, and resume a task on the command line

You can start and stop predefined and user tasks, except for tasks of the License type.

You can pause and resume ODS tasks.

To start a task, execute the following command:

kfl-control --start-task <task ID/name> [-W] [--progress]

where:

  • <task ID/name> is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
  • [-W] is a command used in conjunction with the task start command to enable the display of current events associated with this task.
  • Specify the [--progress] option if you want to display the progress of the task.

    Example:

    Start the task with ID 1 and enable the display of current events associated with the task:

    kfl-control --start-task 1 -W

To stop a task, execute the following command:

kfl-control --stop-task <task ID/name> [-W]

where:

  • <task ID/name> is the ID assigned to the task at the time of its creation, or the name of the task in the command line.
  • [-W] is a command used in conjunction with the stop task command to enable the display of current events associated with this task.

To suspend a task, execute the following command:

kfl-control --suspend-task <task ID/name>

To resume a task, execute the following command:

kfl-control --resume-task <task ID/name>