Remove retired packages from tagger with a cronjob.

This commit is contained in:
Ralph Bean 2014-07-15 18:27:27 +00:00
parent dedec7b357
commit d600f85601
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,2 @@
# Pull in new packages from koji and pkgdb every other hour at 19 minutes past.
49 */2 * * * apache FEDORATAGGER_CONFIG=/etc/fedoratagger/fedoratagger.cfg /usr/bin/fedoratagger-remove-pkgs -s Retired >> /var/log/fedoratagger.log 2>&1

View file

@ -77,7 +77,7 @@
- config
when: logstat.rc == 1
- name: setup the cronjob
- name: setup the update-with-new-packages cronjob
copy: >
src=cron-tagger-update-db
dest=/etc/cron.d/cron-tagger-update-db
@ -85,3 +85,12 @@
- cron
- config
when: install_tagger_cron
- name: setup the remove-old-and-crusty-packages cronjob
copy: >
src=cron-tagger-remove-retired
dest=/etc/cron.d/cron-tagger-remove-retired
tags:
- cron
- config
when: install_tagger_cron