LoginSignup
1
0

More than 3 years have passed since last update.

AWS Batch で大量の PENDING などの job を terminate する方法

Last updated at Posted at 2019-02-07
AWS_PROFILE=HOGE aws batch list-jobs --job-queue HOGE_QUEUE --job-status PENDING|jq -c .jobSummaryList[].jobId

から、

AWS_PROFILE=HOGE aws batch terminate-job --job-id XXX --reason hoge

RUNNABLE な場合は cancel-job

あといちばん古い登録日の job からやると良さそう。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0