Hi All,
I need to set a groovy service that would send emails to users based on a criteria.
We have a Jira Data Center setup with multiple node.
Based on my analysis of scheduling groovy scripts as a Jira service i see that the groovy service runs only one one node per schedule.
But i would want to get it vetted from any experts out there to ensure that multiple emails are not sent due to service run on multiple nodes per schedule.
Thank you in advance.
-Parashar
Hi Parashar,
Scheduled tasks may be configured to run on one or all instances in the cluster. You can refer to Developing for high availability and clustering for all the juicy bits.
I hope that this helps.
Cheers,
Moga
Thanks @Moga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for missed update. We implemented the cluster locks (months ago) in the groovy to ensure it runs once per cluster as we did not want to take any chances of service running on multiple nodes.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome! Glad to know that you found the way! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.