diff --git a/modules/openstack_project/files/log_archive_maintenance.sh b/modules/openstack_project/files/log_archive_maintenance.sh index 56701dd2ce..3824651544 100644 --- a/modules/openstack_project/files/log_archive_maintenance.sh +++ b/modules/openstack_project/files/log_archive_maintenance.sh @@ -3,7 +3,7 @@ sleep $((RANDOM%600)) && \ flock -n /var/run/gziplogs.lock \ find /srv/static/logs/ -depth \ \( \ - \( -type f -not -name robots.txt \ + \( -type f -mmin +10 -not -name robots.txt \ -not -wholename /srv/static/logs/help/\* \ -not -name \*\[.-\]gz -not -name \*\[._-\]\[zZ\] \ \( -name \*.txt -or -name \*.html -or -name tmp\* \) \