pdc audit cronjob.
This commit is contained in:
parent
e02e45944f
commit
f3d5b5f1af
2 changed files with 9 additions and 0 deletions
3
roles/pdc/backend/files/pdc-audit.cron
Normal file
3
roles/pdc/backend/files/pdc-audit.cron
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# run once a day and report
|
||||||
|
MAILTO=releng-cron@lists.fedoraproject.org
|
||||||
|
0 18 * * * root /usr/local/bin/lock-wrapper /usr/bin/pdc-updater-audit
|
|
@ -22,3 +22,9 @@
|
||||||
- pdcupdater.py
|
- pdcupdater.py
|
||||||
notify: restart fedmsg-hub
|
notify: restart fedmsg-hub
|
||||||
tags: pdc
|
tags: pdc
|
||||||
|
|
||||||
|
- name: setup cron for a daily audit script
|
||||||
|
copy: src=pdc-audit.cron dest=/etc/cron.d/pdc-audit.cron mode=0755
|
||||||
|
tags:
|
||||||
|
- pdc
|
||||||
|
- cron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue