koji_hub: keep koschei scratch build logs for 14 days instead of 7

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-12-22 17:56:28 -08:00
parent 1b3282fb81
commit 975269fbf0

View file

@ -1,4 +1,4 @@
0 8 * * * apache find /mnt/koji/work -xdev -depth -mindepth 2 -mtime +14 \( -type f -o -type l \) -delete -o -type d -empty -delete >& /dev/null
0 9 * * * apache find /mnt/koji/scratch -xdev -depth -mtime +14 \( -type f -o -type l -o -not -path "./koschei" \) -delete -o -type d -empty -delete >& /dev/null
0 15 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +7 \( -type f -o -type l \) -delete -o -type d -empty -delete >& /dev/null
0 15 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +14 \( -type f -o -type l \) -delete -o -type d -empty -delete >& /dev/null
0 14 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +1 -name "*.rpm" -delete >& /dev/null