Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Forked from jlsherrill/ListenOnCandlepin.md
Created November 24, 2015 17:37
Show Gist options
  • Save daviddavis/050a4a34f10269ef3bd8 to your computer and use it in GitHub Desktop.
Save daviddavis/050a4a34f10269ef3bd8 to your computer and use it in GitHub Desktop.
clearing ListenOnCandlepin Events

Shut down foreman-tasks:

  service foreman-tasks stop

Open the rails console:

foreman-rake console

and run:

ForemanTasks::Task.where(:label => 'Actions::Candlepin::ListenOnCandlepinEvents').destroy_all
exit

start foreman-tasks:

service foreman-tasks start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment