Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Then you need to deploy it on multiple nodes and neex to make sure it only runs once for each run of the cron, etc.


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


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


Like Shedlock?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: