removed scripts/example

TES
Jan Beníček 2024-12-12 09:15:54 +01:00
parent e6f9ffa4ba
commit 47db43217a
2 changed files with 2 additions and 9 deletions

View File

@ -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())}")

View File

@ -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