Hi I would like A cronjob to be run within spring but I also need to make sure that they don't overlap when running is this possible. Using spring boot 5.1
@Scheduled(cron="${con}", fixedDelay = 5000)
public void run(){
some method
}
this obviously fails is there some way to obtain this