removed scripts/example
parent
e6f9ffa4ba
commit
47db43217a
|
@ -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())}")
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue