added default sleep time initial run 30s

This commit is contained in:
bobokun 2022-01-10 15:38:09 -05:00
parent ac78bd5025
commit eefdd746c0
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -354,6 +354,7 @@ if __name__ == '__main__':
schedule.every(sch).minutes.do(start)
time_str, _ = calc_next_run(sch)
logger.info(f" Scheduled Mode: Running every {time_str}.")
time.sleep(30)
start()
while not killer.kill_now:
schedule.run_pending()