Skip to content
SpringCronTools

example · 6 fields

Spring Cron Expression for Every weekday

Runs at 00:00:00 on Monday, Tuesday, Wednesday, Thursday and Friday.

spring cron
0 0 0 * * MON-FRI

javaJava @Scheduled

@Scheduled(cron = "0 0 0 * * MON-FRI")

fieldsField breakdown

  • SEC0at second 00-59
  • MIN0at minute 00-59
  • HR0at 00:000-23
  • DOM*on every day of the month1-31 · L · W
  • MON*in every month1-12 · JAN-DEC
  • DOWMON-FRIMonday to Friday0-7 · MON-SUN · L · #

Spring replaces names before parsing: MON-FRI = 1-5 .

next runsNext executions (UTC)

Next execution times in UTC
timedatein
00:00:00Mon, 5 Oct 2026in 21 hours
00:00:00Tue, 6 Oct 2026in 2 days
00:00:00Wed, 7 Oct 2026in 3 days
00:00:00Thu, 8 Oct 2026in 4 days
00:00:00Fri, 9 Oct 2026in 5 days

mistakesCommon mistakes

  • Reading "every weekday" as "9 AM on weekdays". This expression fires at midnight.
  • Assuming Saturday and Sunday are excluded by the day-of-month field — it stays "*" here on purpose.

nextRelated Spring cron examples

nextRelated guides

nextRelated tools

Questions

Does this run at 9 AM?

No. "0 0 0 * * MON-FRI" runs at midnight on weekdays. For 9 AM use "0 0 9 * * MON-FRI".

Why is day-of-month "*" and not "?" here?

Both work in Spring. Day-of-week is the only field that constrains the day here, so day-of-month is left unrestricted.