# 月度而非年度评审

**URL:** <https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593>\
**Category:** Feature\
**Tags:** yearly-review\
**Created:** [2023年一月6日 20:30 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593 "2023-01-06T20:30:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)\
**Post date:** [2023年一月6日 20:30 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/1 "2023-01-06T20:30:03Z")

</div>

如何让这个每月在我的论坛上显示一次？

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [2023年一月6日 20:45 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/2 "2023-01-06T20:45:24Z")

</div>

在阅读了插件主题

> [@Discourse Yearly Review](https://meta.discourse.org/t/discourse-yearly-review/105713):
>
> discourse2Summary Discourse Yearly Review creates a topic on January 1st that summarizes the previous year’s forum activity. (See our examples here on Meta - #year-in-review)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-yearly-review](https://github.com/discourse/discourse-yearly-review)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Initial Setup Head to your /admin/plugins page to click the discourse-yearly-review gear Settings button: [Yearly Review settings] Enter categor…

之后，看起来如果您每月运行一次，您将获得想要的结果。我不确定这是否可以自动化 `Jobs::YearlyReview.new.execute(force: true)`

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2023年一月6日 23:19 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/3 "2023-01-06T23:19:38Z")

</div>

> [@Danielabc](#):
>
> 如何让它每个月都显示出来？

> [@ondrej](#):
>
> 看起来如果你每个月运行一次，你就会得到想要的结果。我不确定这是否可以自动化 `Jobs::YearlyReview.new.execute(force: true)`

目前，该插件只会发布一年的主题，而不是一个月的。使用 @ondrej 提供的命令按月发布主题在技术上是可能的，但这会给你提供上一年的数据。要获取本年的数据，你需要在运行作业时设置 `review_year` 参数：

```plaintext
Jobs::YearlyReview.new.execute(force: true, review_year: '2023')

```

这不会给你提供月度数据，但会提供为 2023 年收集的数据。因此，如果你在 2 月 1 日运行它，它会给你提供 1 月的数据。如果你在 3 月 1 日运行它，它会给你提供 1 月和 2 月的数据。

也许 Discourse 团队会接受一个允许按月生成回顾主题的 PR。

---

<div class="post-metadata">

**Author:** ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)\
**Post date:** [2023年一月12日 17:29 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/5 "2023-01-12T17:29:58Z")

</div>

> [@simon](#):
>
> 要获取当年数据，您需要在运行作业时设置参数：`review_year`

> [@ondrej](#):
>
> 看起来如果您每月运行一次，您将获得所需的结果。我不确定这是否可以自动化`Jobs::YearlyReview.new.execute(force: true)`

请原谅我的无知，但我应该在哪里输入这个命令？如果我输入这个命令，审查会每月出现一次吗？

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2023年一月12日 17:54 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/6 "2023-01-12T17:54:59Z")

</div>

目前无法将此设置为每月审核而非年度审核。

---

<div class="post-metadata">

**Author:** ![Mnyambuo](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@Mnyambuo](https://meta.discourse.org/u/Mnyambuo)\
**Post date:** [2023年二月15日 16:33 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/7 "2023-02-15T16:33:40Z")

</div>

关于每周？更重要的是可自定义的时间段。请。

---

<div class="post-metadata">

**Author:** ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)\
**Post date:** [2023年十月8日 04:52 UTC](https://meta.discourse.org/t/monthly-instead-of-yearly-reviews/251593/8 "2023-10-08T04:52:13Z")

</div>

未来是否会有时间自定义功能？我认为这个插件非常棒，但仅限于年度。
