Nq – A simple Unix job queue system
What I really want is a way to define a graph of tasks and dependencies, and then execute it across n workers.<p>Something like<p><pre><code>    parq add --task-name wget1 wget http://example.com/foo.json
    parq add --task-name wget2 wget http://example.com/bar.json
    parq add --dependencies wget1,wget2 jq -s '.[0] * .[1]' foo.json bar.json
    parq run -n 2 # executes wget1 and wget2 in parallel using two workers, then merges them with jq</code></pre>