Skip to content

Instantly share code, notes, and snippets.

@jlsherrill
Last active April 22, 2021 17:37
Show Gist options
  • Save jlsherrill/be8acd455558658239bd61d984d9d506 to your computer and use it in GitHub Desktop.
Save jlsherrill/be8acd455558658239bd61d984d9d506 to your computer and use it in GitHub Desktop.
Delete a task

replace the ID with the task ID from Monitor > Tasks (not from the dynflow console)

For Katello 3.0 & Satellite 6.2:

foreman-rake foreman_tasks:cleanup FILTER='id=1cc6495d-f7ee-4011-9659-ea24ae9240f0' STATES=paused,stopped VERBOSE=true

For Later versions:

foreman-rake foreman_tasks:cleanup TASK_SEARCH='id=1cc6495d-f7ee-4011-9659-ea24ae9240f0' STATES=paused,stopped VERBOSE=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment