ewiger / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

Enhance `gresub` with options to select which jobs to resubmit #467

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Elke asked for a single command to resubmit all the tasks in a
workflow, that have failed due to a specific error.

The prototype command-line for this would similar to::

        gselect -s session --failed --type "FooApplication" --error "some error tag" | xargs gresub -s session

where the command-line options have the following meaning:

* `--failed` selects all tasks that have a non-zero exit status code.
* `--type "FooApplication"` selects all tasks of class `FooApplication`
* `--error "some error tag"` would select all tasks such that the string `"some 
error tag"` appears in the job's STDERR

Original issue reported on code.google.com by riccardo.murri@gmail.com on 29 Oct 2014 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by riccardo.murri@gmail.com on 12 Nov 2014 at 2:27

GoogleCodeExporter commented 9 years ago
Fixed in SVN r4073

Original comment by riccardo.murri@gmail.com on 21 Nov 2014 at 12:17