Added sched module for the loop
This commit is contained in:
parent
1348eb04da
commit
873e34a3cf
1 changed files with 2 additions and 0 deletions
|
|
@ -180,7 +180,9 @@ def start():
|
||||||
print('Begin scheduler monit in %s...' % sec)
|
print('Begin scheduler monit in %s...' % sec)
|
||||||
|
|
||||||
s=sched.scheduler(time.time, time.sleep)
|
s=sched.scheduler(time.time, time.sleep)
|
||||||
|
|
||||||
run_start(s)
|
run_start(s)
|
||||||
|
|
||||||
s.run()
|
s.run()
|
||||||
|
|
||||||
if __name__=='__main__':
|
if __name__=='__main__':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue