diff --git a/roles/koschei/templates/cron-db-cleanup.j2 b/roles/koschei/templates/cron-db-cleanup.j2 index da3bf72c20..2d31a3ecb7 100644 --- a/roles/koschei/templates/cron-db-cleanup.j2 +++ b/roles/koschei/templates/cron-db-cleanup.j2 @@ -1,2 +1,2 @@ 0 3 * * * koschei koschei-admin cleanup --older-than 6 -#0 4,10,16,22 * * * koschei psql -h {{ koschei_pgsql_hostname }} -d koschei -U koscheiadmin -c 'VACUUM FULL ANALYZE package;' +0 4,10,16,22 * * * koschei psql -h {{ koschei_pgsql_hostname }} -d koschei -U koscheiadmin -c 'VACUUM ANALYZE package; VACUUM FULL ANALYZE package;'