🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Scheduling and Async: all 10 questions

Quiz: Scheduling and Async · Question 4 of 10

Why should a business-time cron job set zone = "Asia/Kolkata"?

Why should a business-time cron job set zone = "Asia/Kolkata"?

  1. A.Cron does not work without a zone
  2. B.The server may run in UTC, so without a zone the job fires at the wrong local time
  3. C.It makes the job run faster
  4. D.Zones are required for fixedRate
Answer & explanation

Correct answer: The server may run in UTC, so without a zone the job fires at the wrong local time

9 AM UTC is 2:30 PM in India; the zone makes 9 AM mean 9 AM IST.

Can you get the rest right without peeking?

Take the timed Quiz: Scheduling and Async quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →