I have to create the batch job which will run based on the time zone.
CronTrigger cronTrigger = new CronTrigger("0 55 23 ? * MON-FRI", TimeZone.getTimeZone("America/Toronto"));
taskRegistrar.addTriggerTask(() -> lunchJob(job), cronTrigger);
The above program is running on CET time zone This is working as expected from Monday to Thursday, not executing on FRIDAY.
Is it some wrong?