#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2023/5/9 13:55 # @Author : old tom # @File : main.py # @Project : futool-tiny-datahub # @Desc : 入口文件,定时任务、fastapi、streamlit启动 from datahub.scheduletask.scan_task import ScanTaskRunner from datahub.scheduletask.schedule import sch # 数据源扫描任务 scan_runner = ScanTaskRunner() scan_runner.run() if __name__ == '__main__': # 启动调度 sch.start()