掲示板

Setting Expiry Date for content does not seem to take effect

thumbnail
7年前 に Javeed Chida によって更新されました。

Setting Expiry Date for content does not seem to take effect

New Member 投稿: 8 参加年月日: 14/10/23 最新の投稿
I have a journal article that is in Published status.
The Display Date is in the past.
The Expiry Date is a year from now.
I change the Expiry Date to 2 minutes into the future.
And wait...
Upon refreshing the content item 2 or 3 mins later, I was hoping to see its status as Expired. But it continues to say Draft or Published (whichever status I last left it in).

Is there a precedence rule in effect here? I think there may be some interplay between the current status and the Display Date / Expiry Date that is confusing. I can't seem to find documentation addressing this use case.

Thank you.
thumbnail
7年前 に Denis Signoretto によって更新されました。

RE: Setting Expiry Date for content does not seem to take effect

Expert 投稿: 375 参加年月日: 09/04/21 最新の投稿
Hi Javeed,

be aware that Web Content (Journal Article) publication is managed by a scheduled job (com.liferay.portlet.journal.messaging.CheckArticleMessageListener)
that is configured to run by default every 15 minutes (you can change default value setting a different value og journal.article.check.interval property).

HTH,
Denis.