I tried to use normal job scheduler along with camunda in spring boot application but it did not work , same scheduler code work in another micro service where camunda does not exist .please check below and advise , if any further clarification needed please let me know .
I tried below .
@EnableScheduling //on same root level package in in spring boot app , also tried component scan
@Scheduled(fixedRate = 5000)
public void reportCurrentTime() {
log.info("Time is..:"+ new Date());
}
Please advise any suggestion or should i create another microservice for only job schedulers .