didntcheck 3 days ago

I believe Quartz is the go-to solution for this. It's not part of Spring but it offers a similar annotation-driven interface, but with distributed locking via a database

  • bdangubic 2 days ago

    Absolutely! But Quartz is also quite heavy. If all you need is to ensure scheduled jobs run in a clustered environment there are more “lighweight” options

bdangubic 3 days ago

while not working on out of the box clustered this is trivial issue to address