# Plugin rake task running multiple times - what are we missing?

**URL:** <https://meta.discourse.org/t/plugin-rake-task-running-multiple-times-what-are-we-missing/210077>\
**Category:** Development\
**Created:** [November 24, 2021, 5:33pm UTC](https://meta.discourse.org/t/plugin-rake-task-running-multiple-times-what-are-we-missing/210077 "2021-11-24T17:33:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [February 26, 2025, 12:16pm UTC](https://meta.discourse.org/t/plugin-rake-task-running-multiple-times-what-are-we-missing/210077/6 "2025-02-26T12:16:04Z")

</div>

> [@manut](#):
>
> It seems this issue hits other plugins too (e.g.: the official chat plugin)

Does this mean you get the same result adding a task to it or that an already existing task in the plugin has this behaviour?

Thanks for the information! It feels a little hacky to have to clear it but it’s certainly a useful workaround.

I’ll mark your post as the solution for others’ convenience. Hopefully the broader cause can still be identified, I guess the question becoming: why are tasks registered twice in some plugins and not others?

---

_[View the full topic](https://meta.discourse.org/t/plugin-rake-task-running-multiple-times-what-are-we-missing/210077)._
