Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Mikhail Shubenok
cron job
19. November 2012 03:29
Antwort

Mikhail Shubenok

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 19. November 2012

Neue Beiträge

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?
 1   
 2<portlet>
 3    <portlet-name>scheduled-actions</portlet-name>
 4    <scheduler-entry>
 5        <scheduler-event-listener-class>com.example.Example</scheduler-event-listener-class>
 6        <trigger>
 7            <cron>
 8                <cron-trigger-value>0/15 * * * * ?</cron-trigger-value>
 9            </cron>
10        </trigger>
11    </scheduler-entry>
12    <system>true</system>
13</portlet>


Thanks
Hitoshi Ozawa
RE: cron job
19. November 2012 04:33
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7954

Eintrittsdatum: 23. März 2010

Neue Beiträge

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