diff --git a/roles/taskotron/taskotron-master/templates/taskotron-clean.cron.j2 b/roles/taskotron/taskotron-master/templates/taskotron-clean.cron.j2 index 8a291e4c59..b9a375c313 100644 --- a/roles/taskotron/taskotron-master/templates/taskotron-clean.cron.j2 +++ b/roles/taskotron/taskotron-master/templates/taskotron-clean.cron.j2 @@ -1,4 +1,4 @@ -0 0 * * * {{ buildmaster_user }} find {{ public_artifacts_dir }} -type d -mtime +120 | xargs -r rm -rf -10 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/x86_64/ -mtime +120 | xargs -r rm -rf -20 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/i386/ -mtime +120 | xargs -r rm -rf -30 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/all/ -mtime +120 | xargs -r rm -rf +0 0 * * * {{ buildmaster_user }} find {{ public_artifacts_dir }} -type d -mtime +{{ artifacts_max_life }} | xargs -r rm -rf +10 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/x86_64/ -mtime +{{ buildmaster_max_life }} | xargs -r rm -rf +20 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/i386/ -mtime +{{ buildmaster_max_life }} | xargs -r rm -rf +30 0 * * * {{ buildmaster_user }} find {{ buildmaster_dir }}/all/ -mtime +{{ buildmaster_max_life }} | xargs -r rm -rf