I have a method run every 5 mins like this:
@Scheduled(cron = "* 0/5 * * * *") public void test() {}
Is there any option to tell Spring not to execute the test method if it's still running from the previous time? Quartz has some option for that, but I don't want to use Quartz this time because Spring Scheduler is enough in this case.

Thank you.