fix: TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType'
All checks were successful
Gitea Actions Demo / host-commands (push) Successful in 0s
All checks were successful
Gitea Actions Demo / host-commands (push) Successful in 0s
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -104,8 +104,6 @@ def load_tasks(scheduler: BlockingScheduler):
|
||||
logger.warning(f"Task Invalid trigger type: {trigger}")
|
||||
else:
|
||||
logger.info(f"Task {task.task_name} already exists......")
|
||||
run_time = job.next_run_time - job.trigger.start_date
|
||||
logger.info(f"Task {task.task_name} already exists, run time is {run_time}")
|
||||
|
||||
# 管理者任务
|
||||
def manager_task(scheduler: BlockingScheduler):
|
||||
|
||||
Reference in New Issue
Block a user