Skip to content

Instantly share code, notes, and snippets.

View stewartshea's full-sized avatar

Shea Stewart stewartshea

View GitHub Profile
@stewartshea
stewartshea / cancel-pulp-tasks.sh
Created August 14, 2017 14:21 — forked from snobear/cancel-pulp-tasks.sh
script to cancel all pulp tasks
#!/bin/bash
#
# Cancel all pulp tasks that are just in a specifiedstate
tmpfile=/tmp/tasks
read -p "Enter task state to kill, e.g. Waiting: " ans
echo ""
if [ "${#ans}" -gt 0 ]
then