Receiving task schedule settings

The command kesl-control --get-schedule returns the task schedule settings. Using this command, you can also receive the task schedule settings that were assigned using the configuration file.

You can use this command to edit the task schedule:

  1. Save the schedule settings in the configuration file using the command kesl-control --get-schedule.
  2. Open the created configuration file, edit the necessary settings and save the changes.
  3. Import the settings from the configuration file to Kaspersky Endpoint Security using the command kesl-control --set-schedule. Kaspersky Endpoint Security will immediately apply the new values for the schedule settings.

Command syntax

kesl-control [-T] --get-schedule <task ID>|<task name> [--file <configuration file name>]

kesl-control [-T] --get-schedule <task ID>|<task name> <parameter name>

Arguments and keys

<task ID>

Identification number of the task in Kaspersky Endpoint Security.

<task name>

Task name.

--file <name of configuration file>

Name of the configuration file in which the schedule settings will be saved. If you specify the name of a file without specifying its path, the file will be created in the current directory. If a file with the specified name already exists in the specified path, it will be overwritten. If the specified directory cannot be found on the disk, the configuration file will not be created.

Example:

Save Kaspersky Endpoint Security settings to a file named update_schedule.ini. Save the created file in the current directory:

kesl-control --get-schedule 6 --file update_schedule.ini

Return the Update task schedule:

kesl-control --get-schedule 6

Page top