Editing task schedule settings

The command kesl-control --set-schedule sets the task schedule settings using the command line or imports the task schedule settings from the specified configuration file.

You can use this command to edit the settings of Kaspersky Endpoint Security:

  1. Save the schedule settings in the configuration file executing 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 executing the command kesl-control -T --set-schedule. Kaspersky Endpoint Security will immediately apply the new values for the schedule settings.

Command syntax

kesl-control --set-schedule <task ID>|<task name> --file <configuration file name>

kesl-control --set-schedule <task ID>|<task name> <parameter name>=<parameter value> <parameter name>=<parameter value>

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 whose schedule settings will be imported into the task; includes the full path to the file.

Example:

Import the schedule settings from the configuration file named /home/test/on_demand_schedule.ini into the task with ID=2:

kesl-control --set-schedule 2 --file /home/test/on_demand_schedule.ini

Page top