From fa3d73ac9ad901804d196d5037f3ac8133bea7b3 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 10 May 2021 11:13:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtask=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/task.sh b/shell/task.sh index 1b9827fc..482488be 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -102,7 +102,6 @@ run_normal() { local p1=$1 cd $dir_scripts define_program "$p1" - combine_all if [[ $p1 == *.js ]]; then if [[ $AutoHelpOther == true ]] && [[ $(ls $dir_code) ]]; then local latest_log=$(ls -r $dir_code | head -1) @@ -112,6 +111,7 @@ run_normal() { random_delay fi fi + combine_all log_time=$(date "+%Y-%m-%d-%H-%M-%S") log_dir="$dir_log/${p1%%.*}" log_path="$log_dir/$log_time.log"