import logging from ci import app, scheduler # 日志记录 logging.basicConfig(level=logging.INFO) print("Starting...") if not scheduler.running: scheduler.start() app.run()