ansible-role-kojihub/files/etc/cron.d/koji-directory-cleanup
2020-12-31 14:44:36 -07:00

4 lines
324 B
Plaintext

# 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