代码拉取完成,页面将自动刷新
#!/usr/bin/env python
# coding: utf-8
from apscheduler.schedulers.blocking import BlockingScheduler
import sys
from config import config
from os.path import join
from etl_funds_service.fund_information_one import *
from etl_funds_service.fund_information_two import *
from etl_funds_service.fund_performance import *
from etl_funds_service.fund_assets_one import *
from etl_funds_service.fund_assets_two import *
from etl_funds_service.fund_holders import *
from etl_funds_service.bonds_information import *
from etl_funds_service.fund_cwk import *
from etl_funds_service.fund_derivative import *
import logging
scheduler = BlockingScheduler()
@scheduler.scheduled_job(id='etl_checksum', trigger='cron', day_of_week='0-6', hour='1,13', minute=20)
def work():
"""
:return:
"""
FundSecurities.work()
InstitutionsCompany.work()
PeopleBasicInfo.work()
FundPlateInfo.work()
try:
scheduler.start()
except (KeyboardInterrupt, SystemExit):
scheduler.shutdown()
logging.info('Export bonds_info_service data finished.')
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。