I have a Spring boot 2.1.6.RELEASE application in which I have a method annotated with
@Scheduled(cron = "*/10 * * * * *}
I want it to run with that cron, EVEN IF another execution is already in progress.
I tried increasing the executor thread number using the application.properties file:
spring.task.scheduling.pool.size=10
But it didn't seem to work as it is still waiting for an execution to finish before starting the next one.
What is the proper way to do parallel executions using a cron in the @Scheduled annotation?
@Scheduledmethods; but this will also only work if u hv@EnableAsync- being_ethereal