Job Scheduler does not work along with Camunda

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 .

Hi @ranakamran,

in Camunda you can reach the same goal with a process that starts with a timer start event and a timer definition like ‘PT5S’: Timer Events | docs.camunda.org.

Hope this helps, Ingo

Thanks for response .
does camunda follows spring formate for cron expression or crotab etc . i want to run job after 24 hour

“PT24H” will be fine duration . OR
cycle → 0 0 23 * *