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

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

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

Solution

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.

Last modified on Sep 21, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.