Logger "There are $((mainItemCount-counter+postponedItemCount)) / $mainItemCount tasks in the queue of which $postponedItemCount are postponed. Currently, ${#pidsArray[@]} tasks running with pids [$(joinString , ${pidsArray[@]})].""NOTICE"
fi
if[$(((exec_time +1)% keepLogging)) -eq 0];then
if[$log_ttime -ne $exec_time];then# Fix when sleep time lower than 1 second
log_ttime=$exec_time
if[$functionMode=="Wait"];then
if[$functionMode=="WaitForTaskCompletion" ];then
Logger "Current tasks still running with pids [$(joinString , ${pidsArray[@]})].""NOTICE"
elif[$functionMode=="ParallelExec"];then
Logger "There are $((mainItemCount-counter+postponedItemCount)) / $mainItemCount tasks in the queue. Currently, ${#pidsArray[@]} tasks running with pids [$(joinString , ${pidsArray[@]})].""NOTICE"
Logger "There are $((mainItemCount-counter+postponedItemCount)) / $mainItemCount tasks in the queue of which $postponedItemCount are postponed. Currently, ${#pidsArray[@]} tasks running with pids [$(joinString , ${pidsArray[@]})].""NOTICE"
fi
fi
fi
@ -1111,7 +1115,7 @@ function ExecTasks {
Logger "Command was [${commandsArrayPid[$pid]}].""ERROR"
fi
if[ -f "${commandsArrayOutput[$pid]}"];then
Logger "Command output was [\$(cat ${commandsArrayOutput[$pid]})\n].""ERROR"
Logger "Command output was [$(cat ${commandsArrayOutput[$pid]})\n].""ERROR"