How to Schedule Tasks with Spring Boot | @Scheduled Annotation

preview_player
Показать описание
In this video tutorial, You’ll learn how to schedule tasks in Spring Boot using @Scheduled annotation.

#springboot #javaguides #java

View more videos on my "Spring Boot Tutorial" Playlist:

---

Follow Java Guides:

---

Questions or problems? Post them in the comments section below.

---

Рекомендации по теме
Комментарии
Автор

Awesome video. I have a small doubt
Plz clarify.
Running multiple instances in single Cluster runs Scheduler tasks multiple times in Java.

Production environment cluster is having 3 nodes. Springboot application (Scheduler is implemented to trigger a method for sending email) .Since application is deployed in 3 nodes of a single Cluster, So, at the same time 3 times the method is getting invoked.The method should be invoked 1 time only.
please suggest me how to resolve this issue?

tw