Fórum
How to change time unit from hour to minute in Asset Publisher?
Maíra Araújo, modificado 7 Anos atrás.
How to change time unit from hour to minute in Asset Publisher?
New Member Postagens: 10 Data de Entrada: 18/04/16 Postagens Recentes
Hi!
I'm developing an ext plugin to Asset Publisher - modifying the notifySubscribers method. It's all ok, but to test more efficiently, I need to change the way this routine executes. I already put
Any help??
I'm using Liferay EE 6.2
I'm developing an ext plugin to Asset Publisher - modifying the notifySubscribers method. It's all ok, but to test more efficiently, I need to change the way this routine executes. I already put
asset.publisher.check.interval=1
at the portal-ext.properties file, but it's really not nice to wait to test just one time every 1 hour.Any help??
I'm using Liferay EE 6.2
Pankaj Kathiriya, modificado 7 Anos atrás.
RE: How to change time unit from hour to minute in Asset Publisher?
Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
As you are already having ext plugin , you could change time unit to minutes by overriding portlet definition elements in liferay-portlet-ext.xml for Asset Publisher.
You can change time-unit value to minute for scheduler entry in portlet definition of Asset Publisher. Hope this helps.
You can change time-unit value to minute for scheduler entry in portlet definition of Asset Publisher. Hope this helps.
<scheduler-entry>
<scheduler-event-listener-class>com.liferay.portlet.assetpublisher.messaging.CheckAssetEntryMessageListener</scheduler-event-listener-class>
<trigger>
<simple>
<property-key>asset.publisher.check.interval</property-key>
<time-unit>hour</time-unit>
</simple>
</trigger>
</scheduler-entry>
Maíra Araújo, modificado 7 Anos atrás.
RE: How to change time unit from hour to minute in Asset Publisher? (Resposta)
New Member Postagens: 10 Data de Entrada: 18/04/16 Postagens Recentes
Thanks so much!