all repos — webpage-monitor @ 4822ec8c5c59bfa018e044e3e5f719139e8405c7

make interval bigger by default
Marco Andronaco andronacomarco@gmail.com
Mon, 30 Jan 2023 13:14:04 +0100
commit

4822ec8c5c59bfa018e044e3e5f719139e8405c7

parent

8540ded651cb67a548b2675c456882195eff598b

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M .env.example.env.example

@@ -1,3 +1,4 @@

url="https://localhost:8000" email="example@gmail.com" password="abcdefghijklmnop" +interval=30
M main.pymain.py

@@ -4,5 +4,9 @@ from dotenv import load_dotenv

load_dotenv() if __name__ == "__main__": - monitor(os.getenv("url"), os.getenv("email"), os.getenv("password"), interval=1) + monitor(os.getenv("url"), + os.getenv("email"), + os.getenv("password"), + interval=os.getenv("interval") + )