HT_condor 只移除/暂停特定 batch_name 的作业。

huangapple go评论91阅读模式
英文:

HT_condor removing/putting on hold only jobs with a certain batch_name

问题

Suppose I am running 200 jobs on HT_Condor with BATCH_NAME = "Ranking_noVV", and each job has a different JOB_ID, starting, for instance, at 4333042 and ending at 4333242. I would like to remove or put on hold all the jobs with BATCH_NAME == "Ranking_noVV". Is it possible?

I tried the option -name as suggested on the HT_Condor documentation, but that option doesn't refer to the BATCH_NAME.

In the meantime I am running other jobs with different BATCH_NAME and JOB_ID, so the condor_rm -user isn't an option.

Thank you for your help.

英文:

Suppose I am running 200 jobs on HT_Condor with BATCH_NAME = "Ranking_noVV", and each job has a different JOB_ID, starting, for instance, at 4333042 and ending at 4333242. I would like to remove or put on hold all the jobs with BATCH_NAME == "Ranking_noVV". Is it possible?

I tried the option -name as suggested on the HT_Condor documentation, but that option doesn't refer to the BATCH_NAME.

In the meantime I am running other jobs with different BATCH_NAME and JOB_ID, so the condor_rm -user isn't an option.

Thank you for you help

答案1

得分: 0

condor_rm -const 'JobBatchName == "Ranking_noVV"'

or

condor_hold -const 'JobBatchName == "Ranking_noVV"'

英文:

Try

condor_rm -const 'JobBatchName == "Ranking_noVV"'

or

condor_hold -const 'JobBatchName == "Ranking_noVV"'

</details>



huangapple
  • 本文由 发表于 2023年5月10日 17:11:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/76216707.html
  • condor
  • htcondor
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定