I have a controller which returns all data from table from db.
I need to know how can I be able to call this controller automatically in Spring boot that it reads every 1 minute from db.
I tried to user get request on a void method that calls the repo but it doesnt work.So if anyone has any idea how to solve it would be nice.