Kaspersky Endpoint Security allows you to create the periodic scan schedules for the on-demand scan tasks.
To schedule a periodic scan:
kesl-control --get-task-list
The application provides two on-demand scan tasks of the ODS type with ID=2 (Scan_My_Computer) and ID=3 (Scan_File).
Task with ID=3 is used for the kesl-control --scan-file
command settings. This task cannot be used for the periodic scan, so this procedure describes scheduling the task with ID=2.
kesl-control --get-schedule 2
kesl-control --get-schedule Scan_My_Computer
By default, the manual scheduling is specified (RuleType=Manual
).
RuleType=Hourly
RunMissedStartRules=No
StartTime=2019/May/30 23:05:00;10
RandomInterval=0
RuleType=Minutely
RunMissedStartRules=No
StartTime=23:10:00;10
RandomInterval=0
RuleType=Monthly
RunMissedStartRules=No
StartTime=23:25:00;15
RandomInterval=0
RuleType=Weekly
StartTime=18:01:30;Tue
RandomInterval=99
RunMissedStartRules=No
RuleType=Daily
RunMissedStartRules=No
StartTime=23:15:00;11
RandomInterval=0
kesl-control --set-schedule 2 --file schedule.ini
Application will start task with ID =2 every day at 03:00:00.
kesl-control --set-schedule 2 RuleType=Manual