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

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

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:

1 2 3 <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.

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.