diff --git a/CHANGELOG.md b/CHANGELOG.md index ab28a964..02bc3c49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Added * autosysadmin-agent: upstream release 24.02.3 +* autosysadmin-agent: logs clearing is done weekly * certbot: Renewal hook for NRPE * kvm-host: add minifirewall rules if DRBD interface is configured diff --git a/autosysadmin-agent/templates/autosysadmin.cron.j2 b/autosysadmin-agent/templates/autosysadmin.cron.j2 index d6d4612f..7f2e211b 100644 --- a/autosysadmin-agent/templates/autosysadmin.cron.j2 +++ b/autosysadmin-agent/templates/autosysadmin.cron.j2 @@ -4,4 +4,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin */5 * * * * root run-parts /usr/share/scripts/autosysadmin/auto # Clean run log files -@daily root {{ autosysadmin_agent_bin_dir | mandatory }}/delete_old_logs.sh {{ autosysadmin_agent_log_retention_days | default('365') }} +@weekly root {{ autosysadmin_agent_bin_dir | mandatory }}/delete_old_logs.sh {{ autosysadmin_agent_log_retention_days | default('365') }}