Adjust the fedora-owner-change cron and script for testing in real condition

This commit is contained in:
Pierre-Yves Chibon 2014-05-13 18:38:44 +02:00
parent ea0e074316
commit 945cc29f8e
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
0 10 * * 1 root /usr/bin/python /usr/local/bin/fedora-owner-change.py
0 10 * * 3 root /usr/bin/python /usr/local/bin/fedora-owner-change.py

View file

@ -37,8 +37,8 @@ from email.mime.text import MIMEText
DATAGREPPER_URL = 'https://apps.fedoraproject.org/datagrepper/raw/'
DELTA = 7 * 24 * 60 * 60 # 7 days
TOPIC = 'org.fedoraproject.prod.pkgdb.owner.update'
EMAIL_TO = ''
EMAIL_FROM = ''
EMAIL_TO = 'pingou@pingoured.fr'
EMAIL_FROM = 'nobody@fedoraproject.org'
SMTP_SERVER = 'localhost'
# Initial simple logging stuff