In this writing, I will be discussing how to achieve single execution in a clustered environment using Quartz. Do not be frightened of Quartz though. Spring Boot library for Quartz does not work correctly if you start up two instances of service in parallel.