[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New behavior proposal --halt -% with job killing
From: |
Ole Tange |
Subject: |
Re: New behavior proposal --halt -% with job killing |
Date: |
Mon, 27 Apr 2015 22:58:13 +0200 |
On Mon, Apr 27, 2015 at 8:54 PM, Ole Tange <ole@tange.dk> wrote:
> On Mon, Apr 27, 2015 at 5:46 PM, Martin d'Anjou
> <martin.danjou14@gmail.com> wrote:
> :
:
>> Backward compatibility:
>>
>> --halt 0 is the same as --halt never
>>
>> --halt 1 is the same as --halt onfail,1,killpending
>
> --halt soon,fail=1
>
>> --halt 2 has no equivalents (it does not make sense to orphan jobs)
>
> But --halt 2 should probably killall anyway.
>
> --halt now,fail=1
>
>> --halt -1 is the same as --halt onsuccess,1,killpending
>
> --halt soon,success=1
>
>> --halt -2 has no equivalents (it does not make sense to orphan jobs)
>
> But --halt -2 should probably killall anyway.
>
> --halt now,success=1
>
>> --halt 1-99% is equivalent to --halt onfail,1-99%,killpending
>
> --halt soon,fail=1-99%
>
>
> I think we are close to a decent design, and I will see how hard that
> is to implement.
I have implemented but not tested the above. Give it a spin and feed back.
git clone git://git.savannah.gnu.org/parallel.git
/Ole
/Ole
- Re: New behavior proposal --halt -% with job killing, (continued)
- Re: New behavior proposal --halt -% with job killing, Ole Tange, 2015/04/25
- Re: New behavior proposal --halt -% with job killing, Rasmus Villemoes, 2015/04/25
- Re: New behavior proposal --halt -% with job killing, Ole Tange, 2015/04/26
- Re: New behavior proposal --halt -% with job killing, Ole Tange, 2015/04/26
- Re: New behavior proposal --halt -% with job killing, Martin d'Anjou, 2015/04/27
- Re: New behavior proposal --halt -% with job killing, Ole Tange, 2015/04/27
- Re: New behavior proposal --halt -% with job killing,
Ole Tange <=