Following are the steps to schedule the job in Liferay 6.
1. Implement a class that will implement MessageListener Interface.
2. Then we need to tell liferay to run this job. So you add the following to your liferay-portlet.xml:
3. We need an actual portlet to attach this "scheduler-entry" to. So we also need the portlet.xml as usual.
Its Done!!!
1. Implement a class that will implement MessageListener Interface.
2. Then we need to tell liferay to run this job. So you add the following to your liferay-portlet.xml:
3. We need an actual portlet to attach this "scheduler-entry" to. So we also need the portlet.xml as usual.
Its Done!!!