old
parent
ef21afbcfe
commit
723ed6a9cd
|
|
@ -42,7 +42,5 @@ def download_file_backend():
|
||||||
sched = BlockingScheduler()
|
sched = BlockingScheduler()
|
||||||
sched.add_job(rutina_principal, 'interval', seconds=int(os.environ.get('INTERVAL'))) #will do the print_t work for every 30 seconds
|
sched.add_job(rutina_principal, 'interval', seconds=int(os.environ.get('INTERVAL'))) #will do the print_t work for every 30 seconds
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
init_db(db, engine)
|
|
||||||
sched.start()
|
sched.start()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue