0

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.

sparrow
  • 1,825
  • 6
  • 24
  • 35

0 Answers0