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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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}")
|
logger.warning(f"Task Invalid trigger type: {trigger}")
|
||||||
else:
|
else:
|
||||||
logger.info(f"Task {task.task_name} already exists......")
|
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):
|
def manager_task(scheduler: BlockingScheduler):
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user