Foros de discusión
Is it possible to put cron expression for my job in portal-ext.properties?
Mikhail Shubenok, modificado hace 11 años.
Is it possible to put cron expression for my job in portal-ext.properties?
New Member Mensajes: 8 Fecha de incorporación: 19/11/12 Mensajes recientes
have a cron job
Is it possible to put this cron expression (0/15 * * * * ?) in portal-ext.properties from liferay-portlet.xml? And how to retrive it here if it is?
Thanks
<portlet>
<portlet-name>scheduled-actions</portlet-name>
<scheduler-entry>
<scheduler-event-listener-class>com.example.Example</scheduler-event-listener-class>
<trigger>
<cron>
<cron-trigger-value>0/15 * * * * ?</cron-trigger-value>
</cron>
</trigger>
</scheduler-entry>
<system>true</system>
</portlet>
Is it possible to put this cron expression (0/15 * * * * ?) in portal-ext.properties from liferay-portlet.xml? And how to retrive it here if it is?
Thanks
Hitoshi Ozawa, modificado hace 11 años.
RE: Is it possible to put cron expression for my job in portal-ext.properti
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Not unless you modify liferay.
BTW, if you are going to ask question in English, please post your question to the English forum.
BTW, if you are going to ask question in English, please post your question to the English forum.