|
|
|
@ -29,7 +29,7 @@ EMAIL_BODY = [
@@ -29,7 +29,7 @@ EMAIL_BODY = [
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
# 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? |
|
|
|
@ -127,4 +127,5 @@ def run():
@@ -127,4 +127,5 @@ def run():
|
|
|
|
|
data['time_to_live'] = GRACE_PERIOD * data['emails_sent'] |
|
|
|
|
save_data(DATA_STORE_PATH, data) |
|
|
|
|
send_alert_mail(data) |
|
|
|
|
print("SEND MAIL") |
|
|
|
|
|
|
|
|
|