swif2 abandon-jobs

Cancel an undispatched or running job or resolve a problem job by marking it as a failure.

Usage

swif2 abandon-jobs <workflow> [options] <job-selection>

Any undispatched jobs will simply be tagged as canceled. Dispatched jobs will be actively canceled via the batch system. Problem jobs will be tagged as resolved and placed into the failure list. Note that <job-selection> is as documented for swif2 modify-jobs.

Examples

Abandon all jobs named with trailing numbers in the range [100-300).

swif2 abandon-jobs -names -regexp '.*_[12][0-9]{2}'

Abandon all unresolved problem jobs that failed owing to failure to load input files.

swif2 abandon-jobs -problems SWIF_INPUT_FAIL