Cron · Quartz, Spring and AWS only

Cron Expression for First Monday of the Month

0 0 9 ? * 2#1 Runs at 09:00 on the first Monday of every month using the # character: 2#1 means the first day 2 (Monday in Quartz and AWS numbering).

Quartz cron · UTC
“At 09:00, on the first Monday of the month”
Presets
Direction
Clock

First Monday of the Month: Quartz expression

0 0 9 ? * 2#1

“At 09:00, on the first Monday of the month.”

What each field means
FieldValueMeaning
Second0:00
Minute0:00
Hour99 AM
Day of month?any (?)
Month*every month
Day of week2#11st Mon

First Monday of the Month in every cron format

SchedulerExpression
Unix / Linux cron
crontab, cronie, Vixie cron, Kubernetes CronJob, GitHub Actions
Not supported — Unix cron cannot express “nth weekday of the month”. Run the job on the candidate days and test the date in the command instead.
Quartz
Quartz Scheduler (Java)
0 0 9 ? * 2#1
Spring @Scheduled
Spring Framework CronExpression and @Scheduled
0 0 9 * * 1#1
AWS EventBridge
EventBridge rules and Scheduler cron()
cron(0 9 ? * 2#1 *)

Next run times (UTC)

  1. Mon, Dec 7, 2026 09:00
  2. Mon, Jan 4, 2027 09:00
  3. Mon, Feb 1, 2027 09:00
  4. Mon, Mar 1, 2027 09:00
  5. Mon, Apr 5, 2027 09:00

Calculated when this page was generated. Use the tester above for live times in your own time zone.

Tip

In Unix cron, 0 9 1-7 * 1 does not work — it runs on days 1–7 OR on every Monday. Run 0 9 1-7 * * and test for Monday in the command instead.

Copy-ready examples

// At 09:00, on the first Monday of the month
@Scheduled(cron = "0 0 9 * * 1#1", zone = "UTC")
public void runJob() {
    // ...
}

// Or externalise it in application.yml:
// app.jobs.my-job.cron: "0 0 9 * * 1#1"
// @Scheduled(cron = "${app.jobs.my-job.cron}", zone = "UTC")
Spring Boot

Common questions

What is the cron expression for first monday of the month?

At 09:00, on the first Monday of the month. Standard Unix cron cannot express this schedule (Unix cron cannot express “nth weekday of the month”. Run the job on the candidate days and test the date in the command instead), so use the Quartz expression 0 0 9 ? * 2#1, the Spring expression 0 0 9 * * 1#1 or the AWS EventBridge expression cron(0 9 ? * 2#1 *).

How do I run a Spring @Scheduled job first monday of the month?

Use @Scheduled(cron = "0 0 9 * * 1#1"). Spring cron has six fields, starting with seconds. Add zone = "Europe/London" (or any IANA zone) to run it in a specific time zone instead of the server's.

What is the Quartz cron expression for first monday of the month?

0 0 9 ? * 2#1. Quartz adds a seconds field at the start and requires ? in either the day-of-month or day-of-week field.

How do I write first monday of the month for AWS EventBridge?

Use cron(0 9 ? * 2#1 *). EventBridge cron has six fields including a year, and one of the two day fields must be ?. Classic EventBridge rules run in UTC; EventBridge Scheduler accepts a time zone.

Which time zone does this cron schedule use?

Cron runs in the time zone of the scheduler: the server's local zone for crontab, UTC for GitHub Actions and EventBridge rules, or the zone you set with CRON_TZ, Kubernetes timeZone, Spring zone or Quartz inTimeZone. Choose a zone in the tester above to see local run times.

More cron schedules

Similar: Last Friday of the Month (0 0 17 ? * 6L) · Every Monday (0 9 * * 1) · Every Month (0 0 1 * *)