Skip to content

Commit

Permalink
update notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Dec 19, 2023
1 parent 6a6c2ce commit 7f04bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netguard/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def send_notification():
{"to": [{"email": RECIPIENT_EMAIL}], "subject": "Host is down!"}
],
"from": {"email": SENDER_EMAIL},
"content": [{"type": "text/plain", "value": f"Host is down!, email sent on {datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")}"}],
"content": [{"type": "text/plain", "value": f"Host is down! Email sent on {datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")}"}],
"send_at": int(time.time()) + ((NOTIFICATION_INTERVAL_MINS + 11) * 60),
"batch_id": batch_id,
}
Expand Down

0 comments on commit 7f04bb1

Please sign in to comment.