This commit is contained in:
2024-12-24 14:59:52 +08:00
parent 5ed7198a8a
commit 7bcb561a65
9 changed files with 28 additions and 12 deletions

View File

@ -12,7 +12,8 @@ while True:
# print(get_sys_info())
print("waiting for task...")
task_list = api.sync_center()
if len(task_list) == 0:
sleep(5)
for task in task_list:
print("start task:", task)
biz.task.start_task(task)
sleep(10000)