Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-126195

As a developer I would like to schedule a task at a precise configured datetime so that I can avoid conflicting ones




      The goal of this story is to allow to use a "cron expression" to schedule the task at the same hour of the day. The current functionality only allows you to specify the check interval in hours since the Liferay server started up.


      Given a system admin wants to modify the frequency of notification for an AssetEntry


      When a system admin adds an Asset config for the CronTab scheduler (following a correct cron syntax)

      Then the cron scheduler will send a notification to all components using CheckAssetEntryMessageListener


      When the syntax for the CronTab parameter is not correct

      Then the default value will be 24h taken from check interval in hours default value


      When CheckAssetEntryMessageListener is used in a component

      Then the component can listen to asset notifications with the frequency configured in system admin


      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      Can use cron expression to schedule when to run CheckAssetEntryMessageListener to check for new assets Critical Manual No Yes No
      The Check Interval field is used instead of Check Cron Expression when the cron expression entered is invalid Critical Manual No Yes No
      All components using CheckAssetEntryMessageListener could receive notification Critical Manual No No No
      The Check Interval field is used instead of Check Cron Expression when the Check Cron Expression is empty High Manual No Yes No


          Issue Links



              david.gutierrez David Gutiérrez Mesa
              tarik.demnati Tarik Demnati (Inactive)
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              0 Vote for this issue
              1 Start watching this issue




                  Version Package
                  7.4.0 CE GA1 DXP 7,4
                  7.4.13 DXP GA1