I am learning GNU parallel and I wonder it this makes sense:
IFS=" " while read field || [ -n "$field" ]; do targets_array+=("$field") done </location/targets parallel -Dall bash myScript.sh ::: $targets_array
I wonder if it makes sense because my output seem to stop at some point... I have 30.000 targets that I scan with myScript.sh then I update info about them in DB also using myScript.sh
I tried to use some options but I could not make it work: like writing to a logfile from the performance point of view, does it make sense to run one target at the time?