scripts/timer.py - updated interval for example script
parent
6a2cfc1fa0
commit
7e00b29d82
|
@ -13,5 +13,5 @@ if bool(os.getenv("BACKGROUND_SCRIPTS_RUN", 0)):
|
|||
|
||||
#example
|
||||
from scripts.example import test_function
|
||||
scheduler.add_job(test_function, trigger=IntervalTrigger(seconds=5))
|
||||
scheduler.add_job(test_function, trigger=IntervalTrigger(seconds=60))
|
||||
#end example
|
||||
|
|
Loading…
Reference in New Issue