This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Learn Mode Scheduled Task

The Learn Mode logs that are generated over time can be scheduled for cleanup regularly.

    Click System > Task Scheduler, select the Learn Mode Log Cleanup scheduled task, and then click Edit to modify the scheduled task that initiates the learnmodecleanup.sh file at regular intervals. The scheduled task can be set to n hours or days based on your preference. The default recommended frequency is Daily-Every Midnight.

    In addition to setting the task, you can define the duration for which you want to archive the Learn Mode logs. The following image displays the Learn Mode Log Cleanup scheduled task.

    The following table provides sample configurations:

    FrequencyCommand line valueRetain the logs forDefault values
    Daily-Every Midnight/opt/protegrity/alliance/bin/scripts/learnmodecleanup.sh 10 DAYSLast 10 DAYSDays can be set between 1 to 66
    Every hour/opt/protegrity/alliance/bin/scripts/learnmodecleanup.sh 10 HOURSLast 10 HOURSHours can be set between 1 to 23

    Note: If a numeric value is set without the HOURS or DAYS qualifier, then DAYS is considered as the default.