We have Job which runs everyday at midnight at 02 AM EST. Using @Scheduled annotation with cron Expression in Spring Boot based application. The issue is, Job was running fine until daylight saving time happened, after that it stopped executing. Just restarted the application last time when it happened.
Now the question is, is there a way to fix this and Job has to run at least from 2nd day of the DST change without restart. Changing the time is not an option for us.
@Scheduled(cron = "0 0 2 * * *")
currently passing zone as JVM argument -Duser.timezone=America/New_York
2