From 9c84c7bd388e6d7ef4093b8af9f8bb4f83f0bac0 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Sun, 22 Aug 2021 22:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtask=5Fbefore=20eval?= 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 e4d52be9..3a8fa3d7 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -97,7 +97,7 @@ run_normal() { local id=$(cat $list_crontab_user | grep -E "$cmd_task $first_param" | perl -pe "s|.*ID=(.*) $cmd_task $first_param\.*|\1|" | head -1 | awk -F " " '{print $1}') [[ $id ]] && update_cron "\"$id\"" "0" "$$" "$log_path" - . $file_task_before $cmd + eval . $file_task_before $cmd eval timeout -k 10s $command_timeout_time $which_program $first_param $cmd