Foros de discusión

cron job

Mikhail Shubenok, modificado hace 11 años.

cron job

New Member Mensajes: 8 Fecha de incorporación: 19/11/12 Mensajes recientes
Is it possible to put cron expression (0/15 * * * * ?) from liferay-portlet.xml to portal-ext.properties? And how to retrive it here if it is?
    
<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>


Thanks
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: cron job

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Is it possible to put cron expression (0/15 * * * * ?) from liferay-portlet.xml to portal-ext.properties? And how to retrive it here if it is?

Thanks


Please don't post the same question in several forums. It's against the rule of this forum.

http://www.liferay.com/community/forums/-/message_boards/message/18016645