copr: backend: cleanup the redis db periodically
... 10 minutes before other cleanups so the real VMs are actually terminated automatically.
This commit is contained in:
parent
a9ef579824
commit
9c08953a15
1 changed files with 6 additions and 0 deletions
|
@ -288,6 +288,12 @@
|
|||
minute="0"
|
||||
user=copr
|
||||
|
||||
- name: setup crontab for cleaning up redis
|
||||
cron: name="prune redis VM db periodically"
|
||||
job="/usr/local/bin/cleanup-unused-vms-from-redis >> /var/log/copr-backend/cleanup-redis-vms.log"
|
||||
minute="50"
|
||||
user=copr
|
||||
|
||||
- name: setup monitoring
|
||||
import_tasks: "monitoring.yml"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue