2022-08-02 13:14:10 +00:00
|
|
|
import logging
|
2022-08-02 14:22:21 +00:00
|
|
|
from ci import app, scheduler
|
2022-08-02 13:14:10 +00:00
|
|
|
|
|
|
|
# 日志记录
|
|
|
|
logging.basicConfig(level=logging.INFO)
|
|
|
|
print("Starting...")
|
2022-08-02 14:22:21 +00:00
|
|
|
if not scheduler.running:
|
|
|
|
scheduler.start()
|
2022-08-02 13:14:10 +00:00
|
|
|
app.run()
|