diff --git a/roles/grobisplitter/files/cents8-split.cron b/roles/grobisplitter/files/cents8-split.cron index 669791d37c..fe48207603 100644 --- a/roles/grobisplitter/files/cents8-split.cron +++ b/roles/grobisplitter/files/cents8-split.cron @@ -1,2 +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 '{}' \; +0 0 * * 1 root /usr/bin/find /mnt/fedora/app/fi-repo/centos/stream8-kojitarget -mindepth 1 -maxdepth 1 -type d -mtime +14 -exec rm -rf '{}' \; diff --git a/roles/grobisplitter/files/rhel8-split.cron b/roles/grobisplitter/files/rhel8-split.cron index d0d1afbfe9..4f2538f7eb 100644 --- a/roles/grobisplitter/files/rhel8-split.cron +++ b/roles/grobisplitter/files/rhel8-split.cron @@ -1,2 +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 '{}' \; +0 0 * * 0 root /usr/bin/find /mnt/fedora/app/fi-repo/rhel/rhel8/koji/ -mindepth 1 -maxdepth 1 -type d -mtime +14 -exec rm -rf '{}' \;