Quartz Scheduler: Trigger some jobs on every cluster node and some only once per cluster
问题 I am using Quartz Scheduler as a Spring bean in a clustered environment. I have some jobs annotated with @NotConcurrent and they are running once per cluster (i.e. only in one node, only in one thread). Now I need to run one job on every node of the cluster. I removed the @NotConcurrent annotation, but it only run on every thread on one machine. It does not get fired on other nodes. What should I annotate the job with? Example: Job1 NotConcurrent annotated is scheduled at midnight => It fires