Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Multiple job schedule for same MessageListener class
Hello,
We want to register multiple scheduler jobs for same custom MessageListener class but it is registering only once. Our requirement is same as Staging scheduler where we can schedule multiple staging publish and LayoutsLocalPublisherMessageListener class invoked for all.Our requirement is like we need to provide some configuration for admin where admin can send different type of emails on different frequency. for e.g. :
Thanks & Regards,Kailash
We want to register multiple scheduler jobs for same custom MessageListener class but it is registering only once. Our requirement is same as Staging scheduler where we can schedule multiple staging publish and LayoutsLocalPublisherMessageListener class invoked for all.Our requirement is like we need to provide some configuration for admin where admin can send different type of emails on different frequency. for e.g. :
- Promotion type email should be sent to 100 users every week.
- Password Reset type email should be sent to 1000 users every 3 months
- Hot offers type email should be sent to 50 users daily 10am
- ..
- etc.
Thanks & Regards,Kailash
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™