Legacy Knowledge Base
Published Jul. 2, 2025

Where to configure mail trigger interval for Asset publisher portlet

Written By

Sivakumar Perumal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Liferay sends an email to Asset Publisher portlet's subscribed users every twenty-four hours once. How to change the same?

Environment

  • Liferay DXP 7.0

Resolution

  • Liferay portal periodically checks for new assets and sends emails to subscribed users informing them about the new assets. By default, Liferay performs this check every twenty-four hours and it has defined inside the portlet.properties of this jar file(com.liferay.asset.publisher.web.jar) and it can be found under the below path. 
    {Liferay_home}/osgi/marketplace/Liferay Web Experience.lpkg/com.liferay.asset.publisher.web.jar/portlet.properties
    #
    # Set the interval in hours on how often CheckAssetEntryMessageListener will run
    # to check for new assets. Users will be notified via email of new assets.
    #
    check.interval=24
    This can be overridden by portlet-ext.properties(we have to place this properties file inside this location {Liferay_HOME}/tomcat-8.0.32/webapps/ROOT/WEB-INF/classes). The least value we can provide is 1 hour and this is how the product was designed.
  • Please perform the above activity in the application's downtime as it requires the restart of the portal.
Did this article resolve your issue ?

Legacy Knowledge Base