script
weixin_44961798
这个作者很懒,什么都没留下…
展开
-
apscheduler报错maximum number of running instances
错误详情[WARNING] [apscheduler.scheduler] Execution of job "xxx” next run at: “xxx" skipped: maximum number of running instances reached (1)可能的原因模式为interval,设置的seconds小于任务执行所需时间,即上个任务还未执行完毕 调度器再次执行前检查发现超过设置的max_instances,解决方法:修改seconds...原创 2021-07-30 11:42:37 · 767 阅读 · 0 评论 -
docker小脚本
仅记录一些实用小脚本docker相关目录结构应为|–build.sh|–VERSION|–run.sh|–push.sh|–docker.sh1.一键生成镜像脚本#!/usr/bin/env bashREGISTRY_URL=library/hello-worldREPO_NAME=helloSCRIPT_PATH="$( cd "$(dirname "$0")" ; p...原创 2020-03-08 15:27:48 · 104 阅读 · 0 评论