example for how to write scheduler in portlet with Liferay