Managing tasks asynchronously: KAVSHELL TASK
You can use the KAVSHELL TASK
command to manage the specified task: run, pause, resume and stop the task and view the current task status and statistics. The command is performed in asynchronous mode.
A password might be required to execute the command. To enter the current password, use [/pwd:<password>]
.
KAVSHELL TASK command syntax
KAVSHELL TASK [<task name alias> </START | /STOP | /PAUSE | /RESUME | /STATE | /STATISTICS >]
KAVSHELL TASK command examples
KAVSHELL TASK
KAVSHELL TASK on-access /START
KAVSHELL TASK user-task_1 /STOP
KAVSHELL TASK scan-computer /STATE
KAVSHELL TASK network-attack-blocker /START
The KAVSHELL TASK
command can run without parameters/options or with one or more parameters/options (see the table below).
KAVSHELL TASK command-line parameters/options
Parameter/option | Description |
---|---|
No parameters | Return the list of all existing Kaspersky Embedded Systems Security tasks. The list includes the following fields: task alias, task category (system or custom) and current task status. |
<task alias> | Instead of the task name, in the SCAN TASK command, use its task alias, an additional abbreviated name that Kaspersky Embedded Systems Security assigns to tasks. To view Kaspersky Embedded Systems Security task aliases, enter the KAVSHELL TASK command without any parameters. |
/START | Start the specified task in asynchronous mode. |
/STOP | Stop the specified task. |
/PAUSE | Pause the specified task. |
/RESUME | Resume the specified task in asynchronous mode. |
/STATE | Return the current task status (for example, Running, Completed, Paused, Stopped, Failed, Starting, Resuming). |
/STATISTICS | Retrieve task statistics - Information about the number of objects processed from the time the task started |
Note that not all Kaspersky Embedded Systems Security tasks fully support /PAUSE, /RESUME and /STATE keys.