spring: datasource: url: ${DATABASE_URL} hikari: maximum-pool-size: 20
@Scheduled(fixedDelay = 5000) public void fixedDelayTask() { // Runs 5 seconds after previous execution } spring boot in action