Skip to content

Instantly share code, notes, and snippets.

@mickeey2525
Created November 11, 2019 02:48
Show Gist options
  • Save mickeey2525/af74327ffe088f44534bf56726f39dd8 to your computer and use it in GitHub Desktop.
Save mickeey2525/af74327ffe088f44534bf56726f39dd8 to your computer and use it in GitHub Desktop.
How to kill all digdag attempts
#!/bin/bash
digdag attempts | grep "attempt id" | awk '{print $3}' | while read -r f; do
digdag kill "$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment