Kaspersky Endpoint Security 12 for Linux

Creating a task in the command line

July 22, 2024

ID 264321

If the application is being used in standard mode, you can create the following types of tasks: ODS, Update, Rollback, ODFIM, ContainerScan, and InventoryScan.

If the application is used in Light Agent mode to protect virtual environments, you can create the following types of tasks: ODS, ODFIM, ContainerScan, and InventoryScan.

You can create tasks with default settings or with settings specified in a configuration file.

To create a task with default settings, execute the following command:

kesl-control -create-task <task name> --type <task type>

where:

  • <task name> is the name that you specify for the new task.
  • <task type> is the identifier for the type of the created task.

To create a task with the settings specified in the configuration file, execute the following command:

kesl-control --create-task <task name> --type <task type> --file <path to the configuration file> [--json]

where:

  • <task name> is the name that you specify for the new task.
  • <task type> is the identifier for the type of the created task.
  • <path to file> is the full path to the configuration file with the settings that will be used for creating the task.
  • --json is specified to import the settings from the configuration file in JSON format. If the --json key is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.