Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mikhail Shubenok
cron job
November 19, 2012 3:29 AM
Answer

Mikhail Shubenok

Rank: New Member

Posts: 7

Join Date: November 19, 2012

Recent Posts

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
November 19, 2012 4:33 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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