Cron Expression is not working as expected in Spring Boot Application

195 Views Asked by At

Can anyone share a working sample in Spring Boot Application that works with cron expression in configuration file?

I've tried using below code snippet to schedule an external application. This works in exact 10 minutes gap for 5 times and then stops.

<int:poller max-messages-per-poll="1" cron="0 0/10 * * * *" task-executor="commonThreadPoolTaskExecutor" />
    
0

There are 0 best solutions below