commit 446c6aa2853c417b5e30cff8c0be7f39e8c628e4
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 15 12:09:05 2020 +0100
Update koji-gc cron jobs
roles/koji_hub/files/koji-gc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/roles/koji_hub/files/koji-gc b/roles/koji_hub/files/koji-gc
index 39eb222..a9f962b 100644
--- a/roles/koji_hub/files/koji-gc
+++ b/roles/koji_hub/files/koji-gc
@@ -1,6 +1,6 @@
# Run garbage collector nightly
SCRIPT=/usr/sbin/koji-gc
MAILTO=sysadmin(a)lists.rpmfusion.org
-0 8 * * * apache $SCRIPT --action=delete
-0 10 * * * apache $SCRIPT --action=prune
-0 9 * * * apache $SCRIPT --action=trash
+0 8 * * * apache /usr/local/bin/lock-wrapper koji-gc-delete $SCRIPT --action=delete
--lock-file /var/tmp/koji-gc.lock
+0 10 * * * apache /usr/local/bin/lock-wrapper koji-gc-prune $SCRIPT --action=prune
--lock-file /var/tmp/koji-gc.lock
+0 9 * * * apache /usr/local/bin/lock-wrapper koji-gc-trash $SCRIPT --action=trash
--lock-file /var/tmp/koji-gc.lock
Show replies by date