mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
修复task运行参数合并
This commit is contained in:
parent
a192767389
commit
fa3d73ac9a
|
@ -102,7 +102,6 @@ run_normal() {
|
||||||
local p1=$1
|
local p1=$1
|
||||||
cd $dir_scripts
|
cd $dir_scripts
|
||||||
define_program "$p1"
|
define_program "$p1"
|
||||||
combine_all
|
|
||||||
if [[ $p1 == *.js ]]; then
|
if [[ $p1 == *.js ]]; then
|
||||||
if [[ $AutoHelpOther == true ]] && [[ $(ls $dir_code) ]]; then
|
if [[ $AutoHelpOther == true ]] && [[ $(ls $dir_code) ]]; then
|
||||||
local latest_log=$(ls -r $dir_code | head -1)
|
local latest_log=$(ls -r $dir_code | head -1)
|
||||||
|
@ -112,6 +111,7 @@ run_normal() {
|
||||||
random_delay
|
random_delay
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
combine_all
|
||||||
log_time=$(date "+%Y-%m-%d-%H-%M-%S")
|
log_time=$(date "+%Y-%m-%d-%H-%M-%S")
|
||||||
log_dir="$dir_log/${p1%%.*}"
|
log_dir="$dir_log/${p1%%.*}"
|
||||||
log_path="$log_dir/$log_time.log"
|
log_path="$log_dir/$log_time.log"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user