Fóruns

Início » Liferay Portal » Pусский

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Mikhail Shubenok
Is it possible to put cron expression for my job in portal-ext.properties?
19 de Novembro de 2012 03:29
Resposta

Mikhail Shubenok

Ranking: New Member

Mensagens: 7

Data de entrada: 19 de Novembro de 2012

Mensagens recentes

have a cron job
 1    <portlet>
 2    <portlet-name>scheduled-actions</portlet-name>
 3    <scheduler-entry>
 4        <scheduler-event-listener-class>com.example.Example</scheduler-event-listener-class>
 5        <trigger>
 6            <cron>
 7                <cron-trigger-value>0/15 * * * * ?</cron-trigger-value>
 8            </cron>
 9        </trigger>
10    </scheduler-entry>
11    <system>true</system>
12</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
RE: Is it possible to put cron expression for my job in portal-ext.properti
19 de Novembro de 2012 03:48
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7952

Data de entrada: 23 de Março de 2010

Mensagens recentes

Not unless you modify liferay.

BTW, if you are going to ask question in English, please post your question to the English forum.