Complex script and long argument list

2014-12-12 Thread xmoon 2000
Hi, I am trying to use parallel instead of my usual "backgrounding". I run 60 of these background jobs at once on my 32 core machine, the <> I have put in email for convenience as actual folder names are very long.: /q/myFunc.sh 10 2 -metric=sum -recalcDOW=wednesday -nth=0 -lag=0 -qpopt=100

Re: Complex script and long argument list

2014-12-12 Thread Ole Tange
On Fri, Dec 12, 2014 at 10:37 AM, xmoon 2000 wrote: > To use parallel, I put all these into a file called parlist: > > /q/myFunc.sh 10 2 -metric=sum -recalcDOW=wednesday -nth=0 -lag=0 > -qpopt=100 -qpmin=20.0 -qpup=0.01 slotAUDJPY0fr : > I then tried to run in parallel like this: > > > cat

Catching errors from jobs

2014-12-12 Thread xmoon 2000
I have a file of 60 jobs I run it by using: cat jobsFile | parallel --eta >myOutput 2>myErrors I need to rgep myErrors afterwards to check everything went as planned. However, parallel output goes to stderr as well. What is the best method for me to capture all errors from my scripts to a singl