This commit is contained in:
anonymous 2021-04-07 22:03:59 +08:00
parent 7c0bba4bfb
commit 1f4c750de0

View File

@ -122,7 +122,8 @@ run_normal () {
make_dir "$dir_log/$p1" make_dir "$dir_log/$p1"
$which_program $p1 2>&1 | tee $log_path $which_program $p1 2>&1 | tee $log_path
else else
echo -e "\n $dir_scripts/$p1 脚本不存在,请确认...\n" update_crontab
echo -e "\n $p1 脚本不存在,请确认...\n"
usage usage
fi fi
} }
@ -148,7 +149,8 @@ run_concurrent () {
$which_program $p1 &>$log_path & $which_program $p1 &>$log_path &
done done
else else
echo -e "\n $dir_scripts/$p1 脚本不存在,请确认...\n" update_crontab
echo -e "\n $p1 脚本不存在,请确认...\n"
usage usage
fi fi
} }