parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: joblog and files


From: Ole Tange
Subject: Re: joblog and files
Date: Sun, 13 Dec 2015 13:43:28 +0100

On Sat, Dec 12, 2015 at 5:10 PM, Ryan Brothers <ryan.brothers@gmail.com> wrote:

> When using --joblog and --files such as in the below, is it possible
> to have the joblog include the path to the output file for each job?
>
> parallel --tmpdir /var/tmp --files --joblog joblog.txt echo ::: A B C
>
> I am writing a script to parse the joblog to get the exit status of
> each job and then cross-reference it to the output file.  If adding it
> to the joblog is not possible, is the only way to use --tag or
> --results and manually match them up to the joblog?

A workaround:

    parallel --tmpdir /var/tmp --files --joblog joblog.txt 'echo
{#};echo' ::: A B C

This way the first line is the sequence number.

Maybe --results should create a file 'seq' next to 'stdin' and 'stdout'?


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]