Re: [PATCH] koji directory cleanup: shorten the time we keep things

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+1


----- Original Message -----
> From: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>
> 
> keep data in the work for 2 weeks
> keep scratch builds 2 weeks
> keep koschei builds for 1 day
> 
> Signed-off-by: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxxxx
> http://lists.fedoraproject.org/admin/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux