From 95891ac2f15acb689cb98b687f4997bd19829fe4 Mon Sep 17 00:00:00 2001 From: lsy Date: Fri, 15 Nov 2024 14:23:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=81=E4=B9=A6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E5=BC=BA=E5=88=B6=E6=9B=B4=E6=96=B0=EF=BC=8C?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E5=99=A8=E5=A2=9E=E5=8A=A0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Automation/Installs/acme_update.sh | 2 +- Config/Automation/Installs/menu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/Automation/Installs/acme_update.sh b/Config/Automation/Installs/acme_update.sh index 2c3f6e3..6b99272 100644 --- a/Config/Automation/Installs/acme_update.sh +++ b/Config/Automation/Installs/acme_update.sh @@ -3,5 +3,5 @@ declare path="$1" cat > "${path}/acme_update.sh" << EOF #!/bin/bash ${HOME}/.acme.sh/acme.sh --upgrade -${HOME}/.acme.sh/acme.sh --renew-all +${HOME}/.acme.sh/acme.sh --renew-all --force EOF \ No newline at end of file diff --git a/Config/Automation/Installs/menu.sh b/Config/Automation/Installs/menu.sh index fd06cf1..4aea7f3 100644 --- a/Config/Automation/Installs/menu.sh +++ b/Config/Automation/Installs/menu.sh @@ -35,7 +35,7 @@ echo "斜线(/):用于指定间隔值" echo "连字符(-):用于指定范围" declare tmp_time -declare -a cron_array=("分钟" "小时" "天数" "月份" "星期" ) +declare -a cron_array=("分钟 0–59" "小时 0–23" "天数 1–31" "月份 1–12" "星期 0–7" ) for i in "${cron_array[@]}";do read -p "${i},默认为 * :" tmp_time if [[ $tmp_time =~ ^[0-9]+$ || $tmp_time == '*' ]];then