|
|
@@ -380,14 +380,12 @@ class BD_SIMUpdate(object):
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
print("SIM卡信息开始更新----------%s"%(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
|
|
|
- print("")
|
|
|
Execution_POOL= ThreadPoolExecutor(max_workers=2)
|
|
|
all_tasks = [
|
|
|
Execution_POOL.submit(SQ_SIMUpdate().run),
|
|
|
Execution_POOL.submit(BD_SIMUpdate().run)
|
|
|
]
|
|
|
wait(all_tasks, return_when=ALL_COMPLETED)
|
|
|
-
|
|
|
print("SIM卡信息更新完毕----------%s"%(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
|
|
|
print("")
|
|
|
print("")
|