|
@@ -25,6 +25,11 @@ import pymysql
|
|
from apscheduler.schedulers.blocking import BlockingScheduler
|
|
from apscheduler.schedulers.blocking import BlockingScheduler
|
|
import token_list as tl
|
|
import token_list as tl
|
|
|
|
|
|
|
|
+import importlib
|
|
|
|
+importlib.reload(tl)
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
def get_daily_vx():
|
|
def get_daily_vx():
|
|
token_list_v = tl.token_list_vx
|
|
token_list_v = tl.token_list_vx
|
|
t = ()
|
|
t = ()
|
|
@@ -137,7 +142,7 @@ def start_job():
|
|
mysql_insert_daily_vx(get_daily_vx())
|
|
mysql_insert_daily_vx(get_daily_vx())
|
|
mysql_insert_daily_qq(get_daily_qq())
|
|
mysql_insert_daily_qq(get_daily_qq())
|
|
|
|
|
|
-start_job_time = '2020-10-10 18:00:00'
|
|
|
|
|
|
+start_job_time = '2020-11-17 18:35:00'
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
scheduler = BlockingScheduler()
|
|
scheduler = BlockingScheduler()
|