Skip to content

Commit

Permalink
add starting message
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Dec 19, 2023
1 parent ccdbef8 commit 07adc8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netguard/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def send_notification():
print(f"Error occured on line {e.__traceback__.tb_lineno}")

if __name__ == "__main__":
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), "Net Guard started")
schedule.every(NOTIFICATION_INTERVAL_MINS).minutes.do(send_notification)

while True:
Expand Down

0 comments on commit 07adc8d

Please sign in to comment.