monthly cron job to clean up old koji trees

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2022-06-28 16:12:21 -03:00 committed by kevin
parent e771b8156a
commit f1f1088fb8
2 changed files with 2 additions and 0 deletions

View file

@ -1 +1,2 @@
10 10 * * * root /usr/local/bin/cents8-split.sh
0 0 1 * * root /usr/bin/find /mnt/fedora/app/fi-repo/centos/stream8-kojitarget -mindepth 1 -maxdepth 1 -type d -mtime +30 -exec rm -rf '{}' \;

View file

@ -1 +1,2 @@
10 09 * * * root /usr/local/bin/rhel8-split.sh
0 0 1 * * root /usr/bin/find /mnt/fedora/app/fi-repo/rhel/rhel8/koji/ -mindepth 1 -maxdepth 1 -type d -mtime +30 -exec rm -rf '{}' \;