dguest / pandamonium

Command line scripts to parse panda web api
BSD 3-Clause "New" or "Revised" License
27 stars 17 forks source link

Add ability to give a job state to panda-resub-taskid #30

Open matthewfeickert opened 4 years ago

matthewfeickert commented 4 years ago

It would be very nice if there was the ability to provide a state to panda-resub-taskid to resubmit for. This would be the equivalent of running pandamon "user.${RUCIO_ACCOUNT}" -i exhausted for the user, collecting all jobs that had a state that match the state, and then running panda-resub-taskid on those jobids.

Example of possible API:

panda-resub-taskid --state exhausted