clean up koschei logs after 7 days and the rpms after 1 day
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
This commit is contained in:
parent
954753b765
commit
985943319a
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +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 +1 \( -type f -o -type l \) -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 45 * * * apache find /mnt/koji/scratch/koschei -xdev -depth -mtime +1 -name "*.rpm" -delete >& /dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue