I can see how easy it is to run a parallel job on multiple input but is there no other way to run the same job in parallel multiple times with putting the command in a file and repeating it many times?
parallel -j+0 ::: './dosomejob.sh'
but tell parallel to run that job x amount of times in parallel using the number of available cores?
Typical. I spend ages trying to work this out and when I post a question, I think I actually worked it out.
parallel -j+0 './dosomejob.sh' ::: {1..10}
Is this the correct way to do this? Is there a better parallel way?