ansible-role-kojihub/files/etc/cron.d/koji-directory-cleanup

4 lines
324 B
Plaintext
Raw Normal View History

2020-12-31 21:44:36 +00:00
# Adapted from Fedora Infra
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 \) -delete -o -type d -empty -delete >& /dev/null