I'm using Spring Boot
and have issues scheduling a cron task
using values existing in database.
For the time being, I'm reading values from properties file like below :
@Scheduled(cron= "${time.export.cron}")
public void performJob() throws Exception {
// do something
}
This works nicely, but instead of getting values from properties file, I want to get them from database table. Is it possible and how ?