解决docker1 设定下次运行docker_entrypoint.sh时间出错,导致docker无限重启的问题
This commit is contained in:
@@ -108,7 +108,7 @@ echo "当前小时:${current_h}"
|
|||||||
remainder_h=`expr $current_h % 8`
|
remainder_h=`expr $current_h % 8`
|
||||||
|
|
||||||
|
|
||||||
case $remainder_h in
|
case ${remainder_h} in
|
||||||
0) run_hour="0,8,16"
|
0) run_hour="0,8,16"
|
||||||
;;
|
;;
|
||||||
1) run_hour="1,9,17"
|
1) run_hour="1,9,17"
|
||||||
|
Reference in New Issue
Block a user