aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/scheduler.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/scheduler.pp')
-rw-r--r--modules/buildsystem/manifests/scheduler.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/scheduler.pp b/modules/buildsystem/manifests/scheduler.pp
index cacae1e7..11780312 100644
--- a/modules/buildsystem/manifests/scheduler.pp
+++ b/modules/buildsystem/manifests/scheduler.pp
@@ -47,7 +47,7 @@ class buildsystem::scheduler {
# at ctime instead of mtime, which resets every time a file/directory
# underneath it is deleted. Directories don't take much space, so this
# shouldn't be a real issue.
- command => sprintf("/usr/bin/find %s/uploads -ignore_readdir_race -xdev -depth -type d -ctime +14 -empty >/var/lib/schedbot/clean-uploads-dirs-test.log 2>&1", shellquote($homedir)),
+ command => sprintf("/usr/bin/find %s/uploads -ignore_readdir_race -mindepth 5 -xdev -depth -type d -ctime +14 -empty >/var/lib/schedbot/clean-uploads-dirs-test.log 2>&1", shellquote($homedir)),
hour => '*/1',
minute => '53',
}