Skip to content

Add script to change job status of all runs with a given task status

Add script to change job status of all runs with a given task status.

Example usage: python3 batchJobStatusChange.py --db dt_test_v1 -c express --tasks ntuple-production --taskstatus reprocess --jobstatus failed --condorrm --schedd bigbird26.cern.ch. The command above looks for all 'ntuple-production' task runs in status 'reprocess' and sets all 'idle' and 'runnin' job statuses to 'failed'. In addition it marks corresponding condor jobs eventually existing on scheduler 'bigbird26.cern.ch' for removal.

Merge request reports