mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-10 14:00:12 +08:00
added default sleep time initial run 30s
This commit is contained in:
parent
ac78bd5025
commit
eefdd746c0
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ if __name__ == '__main__':
|
||||||
schedule.every(sch).minutes.do(start)
|
schedule.every(sch).minutes.do(start)
|
||||||
time_str, _ = calc_next_run(sch)
|
time_str, _ = calc_next_run(sch)
|
||||||
logger.info(f" Scheduled Mode: Running every {time_str}.")
|
logger.info(f" Scheduled Mode: Running every {time_str}.")
|
||||||
|
time.sleep(30)
|
||||||
start()
|
start()
|
||||||
while not killer.kill_now:
|
while not killer.kill_now:
|
||||||
schedule.run_pending()
|
schedule.run_pending()
|
||||||
|
|
Loading…
Add table
Reference in a new issue