When do Vercel Cron Jobs execute in JST: Same day or next day?

Current Behavior:
Unclear whether a Vercel Cron Job scheduled for 19:00 UTC executes on the same or next day in JST (+9 hours).

Expected Behavior:
Need to confirm which execution pattern is correct when converting from UTC to JST.

Configuration:

{
  "crons": [
    {
      "path": "/api/test",
      "schedule": "0 19 6,13,20,27 * *"  // 19:00 UTC
    }
  ]
}

Possible Scenarios:

  1. Same Day Execution:
  • 6th at 04:00 JST
  • 13th at 04:00 JST
  • 20th at 04:00 JST
  • 27th at 04:00 JST
  1. Next Day Execution:
  • 7th at 04:00 JST
  • 14th at 04:00 JST
  • 21st at 04:00 JST
  • 28th at 04:00 JST

Project Info:

  • Platform: Vercel
  • Feature: Cron Jobs
  • Timezone: Converting from UTC to JST (+9)

Need clarification on whether UTC 19:00 becomes 04:00 JST on the same date or shifts to the next day.

Hi @koushirou00, welcome to the Vercel Community!

I understand your curiosity about timezones. From what I could gather it seems like scenario 2 is the likely outcome. So, 6th at 19:00 of UTC will be 7th at 4:00 of JST.

I hope this was helpful.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.