Re:Nq – A simple Unix job queue system
by gmfawcett on Tuesday January 26, 2021 @06:34PM
(#25922333)
Use a Makefile? e.g., GNU make can perform parallel execution.
[ Parent
| on HN ]
Re:Nq – A simple Unix job queue system
by butt_hugger on Tuesday January 26, 2021 @07:25PM
(#25922712)
$ make jq -j2 -f - <<EOF
file1:
wget file1
file2:
wget file2
jq: file1 file2
jq file1 file2
EOF
Could probably make some syntactic sugar for this.