+1 On 23 October 2015 at 15:20, Patrick Uiterwijk <puiterw...@redhat.com> wrote: > +1 > > > ----- Original Message ----- >> From: Dennis Gilmore <au...@fedoraproject.org> >> >> keep data in the work for 2 weeks >> keep scratch builds 2 weeks >> keep koschei builds for 1 day >> >> Signed-off-by: Dennis Gilmore <au...@fedoraproject.org> >> --- >> roles/koji_hub/files/koji-directory-cleanup | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/roles/koji_hub/files/koji-directory-cleanup >> b/roles/koji_hub/files/koji-directory-cleanup >> index 67a3018..4429235 100644 >> --- a/roles/koji_hub/files/koji-directory-cleanup >> +++ b/roles/koji_hub/files/koji-directory-cleanup >> @@ -1,2 +1,3 @@ >> -0 8 * * * apache find /mnt/koji/work -xdev -depth -mindepth 2 -mtime +28 >> \( -type f -o -type l \) -delete -o -type d -empty -delete >> -0 9 * * * apache find /mnt/koji/scratch -xdev -depth -mtime +21 >> \( -type f -o -type l \) -delete -o -type d -empty -delete >> +0 8 * * * apache find /mnt/koji/work -xdev -depth -mindepth 2 -mtime +14 >> \( -type f -o -type l \) -delete -o -type d -empty -delete >> +0 9 * * * apache find /mnt/koji/scratch -xdev -depth -mtime +14 >> \( -type f -o -type l \) -delete -o -type d -empty -delete >> +0 9 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +1 >> \( -type f -o -type l \) -delete -o -type d -empty -delete >> -- >> 1.8.3.1 >> _______________________________________________ >> infrastructure mailing list >> infrastructure@lists.fedoraproject.org >> http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org >> > _______________________________________________ > infrastructure mailing list > infrastructure@lists.fedoraproject.org > http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org
-- Stephen J Smoogen. _______________________________________________ infrastructure mailing list infrastructure@lists.fedoraproject.org http://lists.fedoraproject.org/admin/infrastructure@lists.fedoraproject.org