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
Hello,
Thanks for this. Can I suggest a slight modification:
ForemanTasks::Task.where(:state => :paused).where(:label => 'Actions::Candlepin::ListenOnCandlepinEvents').destroy_all
which will prevent destruction of task history.