1 Star 0 Fork 2

abc-edb-fund/check

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
checksum_service.py 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
李新 提交于 2018-09-07 19:25 . Initial commit
#!/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.')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/edbmapping/check.git
git@gitee.com:edbmapping/check.git
edbmapping
check
check
master

搜索帮助