From 11e1b50000700c1476af208df554e35407245dd1 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 11 Jun 2023 20:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E9=98=85=E9=80=9A?= =?UTF-8?q?=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/api.sh | 2 +- shell/update.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/api.sh b/shell/api.sh index 8a016633..ea88f29c 100755 --- a/shell/api.sh +++ b/shell/api.sh @@ -202,7 +202,7 @@ notify_api() { code=$(echo "$api" | jq -r .code) message=$(echo "$api" | jq -r .message) if [[ $code == 200 ]]; then - echo -e "通知发送成功" + echo -e "通知发送成功🎉" else echo -e "通知失败(${message})" fi diff --git a/shell/update.sh b/shell/update.sh index 188f6525..f1a7ff7b 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -44,7 +44,7 @@ del_cron() { local path=$2 local detail="" local ids="" - echo -e "开始尝试自动删除失效的定时任务...\n" + echo -e "开始尝试自动删除失效的定时任务..." for cron in $(cat $list_drop); do local id=$(cat $list_crontab_user | grep -E "$cmd_task.* $cron" | perl -pe "s|.*ID=(.*) $cmd_task.* $cron\.*|\1|" | head -1 | awk -F " " '{print $1}') if [[ $ids ]]; then @@ -75,7 +75,7 @@ del_cron() { add_cron() { local list_add=$1 local path=$2 - echo -e "开始尝试自动添加定时任务...\n" + echo -e "开始尝试自动添加定时任务..." local detail="" cd $dir_scripts for file in $(cat $list_add); do