[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Catching errors from jobs
From: |
Ole Tange |
Subject: |
Re: Catching errors from jobs |
Date: |
Sat, 13 Dec 2014 09:39:57 +0100 |
On Fri, Dec 12, 2014 at 3:44 PM, xmoon 2000 <xmoon2000@googlemail.com> wrote:
> 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.
The output from --eta goes to stderr.
> What is the best method for me to capture all errors from my scripts to a
> single file?
3 options:
Stop using --eta.
Use --joblog (if all you need is the exit value)
Use --results (if you really need the whole stderr)
/Ole