!73 【轻量级 PR】:修复获取分钟数带有0开头的分钟导致的$(($RANDOM % $current_min))出错

Merge pull request !73 from AboutCXJ/N/A
This commit is contained in:
lxk0301
2021-02-02 13:36:51 +08:00
committed by Gitee
+1 -1
View File
@@ -98,7 +98,7 @@ echo "删除原有docker_entrypoint.sh任务"
sed -ie '/'docker_entrypoint.sh'/d' ${mergedListFile}
current_min=$(date +%M)
current_min=$(date +%-M)
echo "当前分钟:${current_min}"
#当前分钟大于1,则随机一个小于当前分钟的,否则为59