updated
This commit is contained in:
parent
c8995ab1f0
commit
b3bb8b79f8
@ -49,6 +49,8 @@ def _do_fetch():
|
||||
fetch(settings=settings, args=args)
|
||||
|
||||
def _start_scheduling():
|
||||
logger.info("Fetching on start")
|
||||
_do_fetch()
|
||||
logger.info('Setting Scheduler up')
|
||||
schedule = Scheduler()
|
||||
schedule.cyclic(dt.timedelta(seconds=args.check_interval*60), _do_fetch)
|
||||
|
Loading…
Reference in New Issue
Block a user