Browse Source

changed test url

master
Holger Frey 6 years ago
parent
commit
3d6e4f371b
  1. 3
      s2watchdog/__init__.py

3
s2watchdog/__init__.py

@ -29,7 +29,7 @@ EMAIL_BODY = [
] ]
# which url to check # which url to check
ALERT_SYSTEM_URL = 'http://test.cpi.imtek.uni-freiburg.de' ALERT_SYSTEM_URL = 'http://echo.cpi.imtek.uni-freiburg.de'
# How many times can an error be ignored? # How many times can an error be ignored?
@ -127,4 +127,5 @@ def run():
data['time_to_live'] = GRACE_PERIOD * data['emails_sent'] data['time_to_live'] = GRACE_PERIOD * data['emails_sent']
save_data(DATA_STORE_PATH, data) save_data(DATA_STORE_PATH, data)
send_alert_mail(data) send_alert_mail(data)
print("SEND MAIL")

Loading…
Cancel
Save