task: add real estate story
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 26s
All checks were successful
Gitea Actions Demo / deploy (push) Successful in 26s
This commit is contained in:
@ -5,8 +5,8 @@ from apscheduler.events import EVENT_JOB_ERROR
|
||||
from apscheduler.schedulers.blocking import BlockingScheduler
|
||||
|
||||
from config import config
|
||||
from log.log_manager import log, logger
|
||||
from task.manager_task import manager_task
|
||||
from utils import logger
|
||||
|
||||
|
||||
def job_error_listener(event):
|
||||
@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||
scheduler.add_listener(job_error_listener, EVENT_JOB_ERROR)
|
||||
|
||||
try:
|
||||
log("started successfully.")
|
||||
logger.info("Edward started successfully.")
|
||||
scheduler.start() # 阻塞运行
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
log("Shutting down ...")
|
||||
logger.info("Shutting down ...")
|
||||
|
||||
Reference in New Issue
Block a user