You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
457 B
18 lines
457 B
#!/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()
|