From fdc5c8f1b110306c32bcf9bf88c579afdd326a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Wed, 7 Aug 2024 18:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=20=E5=B8=B8=E8=A7=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E5=AE=89=E8=A3=85=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- script/auto_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/auto_install.sh b/script/auto_install.sh index aa8577a0..56e8f1f7 100644 --- a/script/auto_install.sh +++ b/script/auto_install.sh @@ -70,6 +70,8 @@ if [[ "$download_successful" = true && -f "$task_dir/app_install.sh" ]]; then (crontab -l ; echo "0 */3 * * * /bin/bash $task_dir/app_install.sh") | crontab - + echo "$(date): [Run] Update application list" + /bin/bash "$task_dir/app_install.sh" else echo "No permission to change the script's permissions." @@ -78,4 +80,4 @@ else echo "Script download failed. Please check your network connection." fi -echo "$(date): [Run] Update application list" +echo "$(date): [Auto] Installation completed."