From 47db43217a786b62da14298aa95a7a3ba02cb716 Mon Sep 17 00:00:00 2001 From: Jan Benicek Date: Thu, 12 Dec 2024 09:15:54 +0100 Subject: [PATCH] removed scripts/example --- scripts/example.py | 7 ------- scripts/timer.py | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 scripts/example.py diff --git a/scripts/example.py b/scripts/example.py deleted file mode 100644 index 51e29a4..0000000 --- a/scripts/example.py +++ /dev/null @@ -1,7 +0,0 @@ - -from src.variables.service import get_variables -#modules example import: from src.modules.RTD8.service import read_temp - -def test_function(): - print("Example script") - print(f"variables: {" | ".join(get_variables())}") \ No newline at end of file diff --git a/scripts/timer.py b/scripts/timer.py index fb84958..d50378e 100644 --- a/scripts/timer.py +++ b/scripts/timer.py @@ -12,6 +12,6 @@ if bool(os.getenv("BACKGROUND_SCRIPTS_RUN", 0)): #example -from scripts.example import test_function -scheduler.add_job(test_function, trigger=IntervalTrigger(seconds=60)) +#from scripts.example import test_function +#scheduler.add_job(test_function, trigger=IntervalTrigger(seconds=60)) #end example