How do I change the default polling time for email in Confluence?

目的

To configure the default polling time to desired time. This can be changed by following the instructions below. 

ソリューション

Modify the cronExpression property of the mailPollTrigger bean in the schedulingSubsystemContext.xml file.

In the Confluence installation directory, this file is jarred as <confluence installation directory>/confluence/WEB-INF/lib/confluence-x.x.jar, where "x.x" is your version of Confluence. Unzipping the file and placing it in the WEB-INF/classes directory will override the configuration from the jarred version.

For example, the expression below will fire at 12pm (noon) every day:

 <property name="cronExpression">
   <value>0 0 12 * * ?</value> 
 </property>

Cron expression

For more information on how to create cron expressions so that you can specify complex time combinations, see this article.

最終更新日 2020 年 9 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.