I have a scheduler which runs everyday once at 8.01pm. But i would seem that when it runs at 8.01pm it run twice. Following is my code
@Scheduled(cron = "0 1 20 * * *")
public void reportCurrentTime() {
logger.info("started");
}
Can anyone help me to fix my problem.Thanks.