How can I configure the time zone for a Spring based @Scheduled cron job?
Background:
I have a job that executes once a day, say 2 PM, usin
You can also use time zone with @Scheduled tag in spring-boot like this :
@Scheduled
@Scheduled(cron = "0 0 14 * * *" , zone = "GMT+5:00") public void execute() { // do the scheduled job }