breakitdown

The first Monday of the month in cron

Answer

0 9 1-7 * 1 does NOT mean the first Monday. When both day fields are set, cron runs on days matching either one, so this runs on the 1st to the 7th and also on every Monday. Use 0 9 1-7 * * and test the weekday in the command: [ "$(date +\%u)" = 1 ] && cmd.

At 09:00 on day 1–7 of the month or on Monday.

Both day fields are restricted, so cron runs on days matching EITHER (day of month 1-7) OR (day of week 1), not both. This surprises almost everyone.

  1. 0
    Minute (0-59)

    At minute 0 (on the hour)

  2. 9
    Hour (0-23)

    Hour 9 (09:00–09:59)

  3. 1-7
    Day of month (1-31)

    1 through 7

  4. *
    Month (1-12 or JAN-DEC)

    Every month

  5. 1
    Day of week (0-7 or SUN-SAT (0 and 7 = Sunday))

    Monday

Next 10 runs in UTC

  1. 1in 12 hours
  2. 2in 1 day
  3. 3in 2 days
  4. 4in 3 days
  5. 5in 4 days
  6. 6in 5 days
  7. 7in 6 days
  8. 8in 8 days
  9. 9in 15 days
  10. 10in 22 days

When it fires

0.34 runs a day on average2.4 a week124 of the next 364 days have a run

Hours of the week (darker = more runs)
0003060912151821MonMon 00:00-00:59: 0 runs over the next 364 daysMon 01:00-01:59: 0 runs over the next 364 daysMon 02:00-02:59: 0 runs over the next 364 daysMon 03:00-03:59: 0 runs over the next 364 daysMon 04:00-04:59: 0 runs over the next 364 daysMon 05:00-05:59: 0 runs over the next 364 daysMon 06:00-06:59: 0 runs over the next 364 daysMon 07:00-07:59: 0 runs over the next 364 daysMon 08:00-08:59: 0 runs over the next 364 daysMon 09:00-09:59: 52 runs over the next 364 daysMon 10:00-10:59: 0 runs over the next 364 daysMon 11:00-11:59: 0 runs over the next 364 daysMon 12:00-12:59: 0 runs over the next 364 daysMon 13:00-13:59: 0 runs over the next 364 daysMon 14:00-14:59: 0 runs over the next 364 daysMon 15:00-15:59: 0 runs over the next 364 daysMon 16:00-16:59: 0 runs over the next 364 daysMon 17:00-17:59: 0 runs over the next 364 daysMon 18:00-18:59: 0 runs over the next 364 daysMon 19:00-19:59: 0 runs over the next 364 daysMon 20:00-20:59: 0 runs over the next 364 daysMon 21:00-21:59: 0 runs over the next 364 daysMon 22:00-22:59: 0 runs over the next 364 daysMon 23:00-23:59: 0 runs over the next 364 daysTueTue 00:00-00:59: 0 runs over the next 364 daysTue 01:00-01:59: 0 runs over the next 364 daysTue 02:00-02:59: 0 runs over the next 364 daysTue 03:00-03:59: 0 runs over the next 364 daysTue 04:00-04:59: 0 runs over the next 364 daysTue 05:00-05:59: 0 runs over the next 364 daysTue 06:00-06:59: 0 runs over the next 364 daysTue 07:00-07:59: 0 runs over the next 364 daysTue 08:00-08:59: 0 runs over the next 364 daysTue 09:00-09:59: 12 runs over the next 364 daysTue 10:00-10:59: 0 runs over the next 364 daysTue 11:00-11:59: 0 runs over the next 364 daysTue 12:00-12:59: 0 runs over the next 364 daysTue 13:00-13:59: 0 runs over the next 364 daysTue 14:00-14:59: 0 runs over the next 364 daysTue 15:00-15:59: 0 runs over the next 364 daysTue 16:00-16:59: 0 runs over the next 364 daysTue 17:00-17:59: 0 runs over the next 364 daysTue 18:00-18:59: 0 runs over the next 364 daysTue 19:00-19:59: 0 runs over the next 364 daysTue 20:00-20:59: 0 runs over the next 364 daysTue 21:00-21:59: 0 runs over the next 364 daysTue 22:00-22:59: 0 runs over the next 364 daysTue 23:00-23:59: 0 runs over the next 364 daysWedWed 00:00-00:59: 0 runs over the next 364 daysWed 01:00-01:59: 0 runs over the next 364 daysWed 02:00-02:59: 0 runs over the next 364 daysWed 03:00-03:59: 0 runs over the next 364 daysWed 04:00-04:59: 0 runs over the next 364 daysWed 05:00-05:59: 0 runs over the next 364 daysWed 06:00-06:59: 0 runs over the next 364 daysWed 07:00-07:59: 0 runs over the next 364 daysWed 08:00-08:59: 0 runs over the next 364 daysWed 09:00-09:59: 12 runs over the next 364 daysWed 10:00-10:59: 0 runs over the next 364 daysWed 11:00-11:59: 0 runs over the next 364 daysWed 12:00-12:59: 0 runs over the next 364 daysWed 13:00-13:59: 0 runs over the next 364 daysWed 14:00-14:59: 0 runs over the next 364 daysWed 15:00-15:59: 0 runs over the next 364 daysWed 16:00-16:59: 0 runs over the next 364 daysWed 17:00-17:59: 0 runs over the next 364 daysWed 18:00-18:59: 0 runs over the next 364 daysWed 19:00-19:59: 0 runs over the next 364 daysWed 20:00-20:59: 0 runs over the next 364 daysWed 21:00-21:59: 0 runs over the next 364 daysWed 22:00-22:59: 0 runs over the next 364 daysWed 23:00-23:59: 0 runs over the next 364 daysThuThu 00:00-00:59: 0 runs over the next 364 daysThu 01:00-01:59: 0 runs over the next 364 daysThu 02:00-02:59: 0 runs over the next 364 daysThu 03:00-03:59: 0 runs over the next 364 daysThu 04:00-04:59: 0 runs over the next 364 daysThu 05:00-05:59: 0 runs over the next 364 daysThu 06:00-06:59: 0 runs over the next 364 daysThu 07:00-07:59: 0 runs over the next 364 daysThu 08:00-08:59: 0 runs over the next 364 daysThu 09:00-09:59: 12 runs over the next 364 daysThu 10:00-10:59: 0 runs over the next 364 daysThu 11:00-11:59: 0 runs over the next 364 daysThu 12:00-12:59: 0 runs over the next 364 daysThu 13:00-13:59: 0 runs over the next 364 daysThu 14:00-14:59: 0 runs over the next 364 daysThu 15:00-15:59: 0 runs over the next 364 daysThu 16:00-16:59: 0 runs over the next 364 daysThu 17:00-17:59: 0 runs over the next 364 daysThu 18:00-18:59: 0 runs over the next 364 daysThu 19:00-19:59: 0 runs over the next 364 daysThu 20:00-20:59: 0 runs over the next 364 daysThu 21:00-21:59: 0 runs over the next 364 daysThu 22:00-22:59: 0 runs over the next 364 daysThu 23:00-23:59: 0 runs over the next 364 daysFriFri 00:00-00:59: 0 runs over the next 364 daysFri 01:00-01:59: 0 runs over the next 364 daysFri 02:00-02:59: 0 runs over the next 364 daysFri 03:00-03:59: 0 runs over the next 364 daysFri 04:00-04:59: 0 runs over the next 364 daysFri 05:00-05:59: 0 runs over the next 364 daysFri 06:00-06:59: 0 runs over the next 364 daysFri 07:00-07:59: 0 runs over the next 364 daysFri 08:00-08:59: 0 runs over the next 364 daysFri 09:00-09:59: 12 runs over the next 364 daysFri 10:00-10:59: 0 runs over the next 364 daysFri 11:00-11:59: 0 runs over the next 364 daysFri 12:00-12:59: 0 runs over the next 364 daysFri 13:00-13:59: 0 runs over the next 364 daysFri 14:00-14:59: 0 runs over the next 364 daysFri 15:00-15:59: 0 runs over the next 364 daysFri 16:00-16:59: 0 runs over the next 364 daysFri 17:00-17:59: 0 runs over the next 364 daysFri 18:00-18:59: 0 runs over the next 364 daysFri 19:00-19:59: 0 runs over the next 364 daysFri 20:00-20:59: 0 runs over the next 364 daysFri 21:00-21:59: 0 runs over the next 364 daysFri 22:00-22:59: 0 runs over the next 364 daysFri 23:00-23:59: 0 runs over the next 364 daysSatSat 00:00-00:59: 0 runs over the next 364 daysSat 01:00-01:59: 0 runs over the next 364 daysSat 02:00-02:59: 0 runs over the next 364 daysSat 03:00-03:59: 0 runs over the next 364 daysSat 04:00-04:59: 0 runs over the next 364 daysSat 05:00-05:59: 0 runs over the next 364 daysSat 06:00-06:59: 0 runs over the next 364 daysSat 07:00-07:59: 0 runs over the next 364 daysSat 08:00-08:59: 0 runs over the next 364 daysSat 09:00-09:59: 12 runs over the next 364 daysSat 10:00-10:59: 0 runs over the next 364 daysSat 11:00-11:59: 0 runs over the next 364 daysSat 12:00-12:59: 0 runs over the next 364 daysSat 13:00-13:59: 0 runs over the next 364 daysSat 14:00-14:59: 0 runs over the next 364 daysSat 15:00-15:59: 0 runs over the next 364 daysSat 16:00-16:59: 0 runs over the next 364 daysSat 17:00-17:59: 0 runs over the next 364 daysSat 18:00-18:59: 0 runs over the next 364 daysSat 19:00-19:59: 0 runs over the next 364 daysSat 20:00-20:59: 0 runs over the next 364 daysSat 21:00-21:59: 0 runs over the next 364 daysSat 22:00-22:59: 0 runs over the next 364 daysSat 23:00-23:59: 0 runs over the next 364 daysSunSun 00:00-00:59: 0 runs over the next 364 daysSun 01:00-01:59: 0 runs over the next 364 daysSun 02:00-02:59: 0 runs over the next 364 daysSun 03:00-03:59: 0 runs over the next 364 daysSun 04:00-04:59: 0 runs over the next 364 daysSun 05:00-05:59: 0 runs over the next 364 daysSun 06:00-06:59: 0 runs over the next 364 daysSun 07:00-07:59: 0 runs over the next 364 daysSun 08:00-08:59: 0 runs over the next 364 daysSun 09:00-09:59: 12 runs over the next 364 daysSun 10:00-10:59: 0 runs over the next 364 daysSun 11:00-11:59: 0 runs over the next 364 daysSun 12:00-12:59: 0 runs over the next 364 daysSun 13:00-13:59: 0 runs over the next 364 daysSun 14:00-14:59: 0 runs over the next 364 daysSun 15:00-15:59: 0 runs over the next 364 daysSun 16:00-16:59: 0 runs over the next 364 daysSun 17:00-17:59: 0 runs over the next 364 daysSun 18:00-18:59: 0 runs over the next 364 daysSun 19:00-19:59: 0 runs over the next 364 daysSun 20:00-20:59: 0 runs over the next 364 daysSun 21:00-21:59: 0 runs over the next 364 daysSun 22:00-22:59: 0 runs over the next 364 daysSun 23:00-23:59: 0 runs over the next 364 days
The next 52 weeks, one square per day
MonWedFriOctSat 31 Oct 2026: 0 runsSun 1 Nov 2026: 1 runMon 2 Nov 2026: 1 runTue 3 Nov 2026: 1 runWed 4 Nov 2026: 1 runThu 5 Nov 2026: 1 runFri 6 Nov 2026: 1 runSat 7 Nov 2026: 1 runSun 8 Nov 2026: 0 runsMon 9 Nov 2026: 1 runTue 10 Nov 2026: 0 runsWed 11 Nov 2026: 0 runsThu 12 Nov 2026: 0 runsFri 13 Nov 2026: 0 runsSat 14 Nov 2026: 0 runsSun 15 Nov 2026: 0 runsMon 16 Nov 2026: 1 runTue 17 Nov 2026: 0 runsWed 18 Nov 2026: 0 runsThu 19 Nov 2026: 0 runsFri 20 Nov 2026: 0 runsSat 21 Nov 2026: 0 runsSun 22 Nov 2026: 0 runsMon 23 Nov 2026: 1 runTue 24 Nov 2026: 0 runsWed 25 Nov 2026: 0 runsThu 26 Nov 2026: 0 runsFri 27 Nov 2026: 0 runsSat 28 Nov 2026: 0 runsSun 29 Nov 2026: 0 runsMon 30 Nov 2026: 1 runDecTue 1 Dec 2026: 1 runWed 2 Dec 2026: 1 runThu 3 Dec 2026: 1 runFri 4 Dec 2026: 1 runSat 5 Dec 2026: 1 runSun 6 Dec 2026: 1 runMon 7 Dec 2026: 1 runTue 8 Dec 2026: 0 runsWed 9 Dec 2026: 0 runsThu 10 Dec 2026: 0 runsFri 11 Dec 2026: 0 runsSat 12 Dec 2026: 0 runsSun 13 Dec 2026: 0 runsMon 14 Dec 2026: 1 runTue 15 Dec 2026: 0 runsWed 16 Dec 2026: 0 runsThu 17 Dec 2026: 0 runsFri 18 Dec 2026: 0 runsSat 19 Dec 2026: 0 runsSun 20 Dec 2026: 0 runsMon 21 Dec 2026: 1 runTue 22 Dec 2026: 0 runsWed 23 Dec 2026: 0 runsThu 24 Dec 2026: 0 runsFri 25 Dec 2026: 0 runsSat 26 Dec 2026: 0 runsSun 27 Dec 2026: 0 runsMon 28 Dec 2026: 1 runTue 29 Dec 2026: 0 runsWed 30 Dec 2026: 0 runsThu 31 Dec 2026: 0 runsJanFri 1 Jan 2027: 1 runSat 2 Jan 2027: 1 runSun 3 Jan 2027: 1 runMon 4 Jan 2027: 1 runTue 5 Jan 2027: 1 runWed 6 Jan 2027: 1 runThu 7 Jan 2027: 1 runFri 8 Jan 2027: 0 runsSat 9 Jan 2027: 0 runsSun 10 Jan 2027: 0 runsMon 11 Jan 2027: 1 runTue 12 Jan 2027: 0 runsWed 13 Jan 2027: 0 runsThu 14 Jan 2027: 0 runsFri 15 Jan 2027: 0 runsSat 16 Jan 2027: 0 runsSun 17 Jan 2027: 0 runsMon 18 Jan 2027: 1 runTue 19 Jan 2027: 0 runsWed 20 Jan 2027: 0 runsThu 21 Jan 2027: 0 runsFri 22 Jan 2027: 0 runsSat 23 Jan 2027: 0 runsSun 24 Jan 2027: 0 runsMon 25 Jan 2027: 1 runTue 26 Jan 2027: 0 runsWed 27 Jan 2027: 0 runsThu 28 Jan 2027: 0 runsFri 29 Jan 2027: 0 runsSat 30 Jan 2027: 0 runsSun 31 Jan 2027: 0 runsFebMon 1 Feb 2027: 1 runTue 2 Feb 2027: 1 runWed 3 Feb 2027: 1 runThu 4 Feb 2027: 1 runFri 5 Feb 2027: 1 runSat 6 Feb 2027: 1 runSun 7 Feb 2027: 1 runMon 8 Feb 2027: 1 runTue 9 Feb 2027: 0 runsWed 10 Feb 2027: 0 runsThu 11 Feb 2027: 0 runsFri 12 Feb 2027: 0 runsSat 13 Feb 2027: 0 runsSun 14 Feb 2027: 0 runsMon 15 Feb 2027: 1 runTue 16 Feb 2027: 0 runsWed 17 Feb 2027: 0 runsThu 18 Feb 2027: 0 runsFri 19 Feb 2027: 0 runsSat 20 Feb 2027: 0 runsSun 21 Feb 2027: 0 runsMon 22 Feb 2027: 1 runTue 23 Feb 2027: 0 runsWed 24 Feb 2027: 0 runsThu 25 Feb 2027: 0 runsFri 26 Feb 2027: 0 runsSat 27 Feb 2027: 0 runsSun 28 Feb 2027: 0 runsMarMon 1 Mar 2027: 1 runTue 2 Mar 2027: 1 runWed 3 Mar 2027: 1 runThu 4 Mar 2027: 1 runFri 5 Mar 2027: 1 runSat 6 Mar 2027: 1 runSun 7 Mar 2027: 1 runMon 8 Mar 2027: 1 runTue 9 Mar 2027: 0 runsWed 10 Mar 2027: 0 runsThu 11 Mar 2027: 0 runsFri 12 Mar 2027: 0 runsSat 13 Mar 2027: 0 runsSun 14 Mar 2027: 0 runsMon 15 Mar 2027: 1 runTue 16 Mar 2027: 0 runsWed 17 Mar 2027: 0 runsThu 18 Mar 2027: 0 runsFri 19 Mar 2027: 0 runsSat 20 Mar 2027: 0 runsSun 21 Mar 2027: 0 runsMon 22 Mar 2027: 1 runTue 23 Mar 2027: 0 runsWed 24 Mar 2027: 0 runsThu 25 Mar 2027: 0 runsFri 26 Mar 2027: 0 runsSat 27 Mar 2027: 0 runsSun 28 Mar 2027: 0 runsMon 29 Mar 2027: 1 runTue 30 Mar 2027: 0 runsWed 31 Mar 2027: 0 runsAprThu 1 Apr 2027: 1 runFri 2 Apr 2027: 1 runSat 3 Apr 2027: 1 runSun 4 Apr 2027: 1 runMon 5 Apr 2027: 1 runTue 6 Apr 2027: 1 runWed 7 Apr 2027: 1 runThu 8 Apr 2027: 0 runsFri 9 Apr 2027: 0 runsSat 10 Apr 2027: 0 runsSun 11 Apr 2027: 0 runsMon 12 Apr 2027: 1 runTue 13 Apr 2027: 0 runsWed 14 Apr 2027: 0 runsThu 15 Apr 2027: 0 runsFri 16 Apr 2027: 0 runsSat 17 Apr 2027: 0 runsSun 18 Apr 2027: 0 runsMon 19 Apr 2027: 1 runTue 20 Apr 2027: 0 runsWed 21 Apr 2027: 0 runsThu 22 Apr 2027: 0 runsFri 23 Apr 2027: 0 runsSat 24 Apr 2027: 0 runsSun 25 Apr 2027: 0 runsMon 26 Apr 2027: 1 runTue 27 Apr 2027: 0 runsWed 28 Apr 2027: 0 runsThu 29 Apr 2027: 0 runsFri 30 Apr 2027: 0 runsMaySat 1 May 2027: 1 runSun 2 May 2027: 1 runMon 3 May 2027: 1 runTue 4 May 2027: 1 runWed 5 May 2027: 1 runThu 6 May 2027: 1 runFri 7 May 2027: 1 runSat 8 May 2027: 0 runsSun 9 May 2027: 0 runsMon 10 May 2027: 1 runTue 11 May 2027: 0 runsWed 12 May 2027: 0 runsThu 13 May 2027: 0 runsFri 14 May 2027: 0 runsSat 15 May 2027: 0 runsSun 16 May 2027: 0 runsMon 17 May 2027: 1 runTue 18 May 2027: 0 runsWed 19 May 2027: 0 runsThu 20 May 2027: 0 runsFri 21 May 2027: 0 runsSat 22 May 2027: 0 runsSun 23 May 2027: 0 runsMon 24 May 2027: 1 runTue 25 May 2027: 0 runsWed 26 May 2027: 0 runsThu 27 May 2027: 0 runsFri 28 May 2027: 0 runsSat 29 May 2027: 0 runsSun 30 May 2027: 0 runsMon 31 May 2027: 1 runJunTue 1 Jun 2027: 1 runWed 2 Jun 2027: 1 runThu 3 Jun 2027: 1 runFri 4 Jun 2027: 1 runSat 5 Jun 2027: 1 runSun 6 Jun 2027: 1 runMon 7 Jun 2027: 1 runTue 8 Jun 2027: 0 runsWed 9 Jun 2027: 0 runsThu 10 Jun 2027: 0 runsFri 11 Jun 2027: 0 runsSat 12 Jun 2027: 0 runsSun 13 Jun 2027: 0 runsMon 14 Jun 2027: 1 runTue 15 Jun 2027: 0 runsWed 16 Jun 2027: 0 runsThu 17 Jun 2027: 0 runsFri 18 Jun 2027: 0 runsSat 19 Jun 2027: 0 runsSun 20 Jun 2027: 0 runsMon 21 Jun 2027: 1 runTue 22 Jun 2027: 0 runsWed 23 Jun 2027: 0 runsThu 24 Jun 2027: 0 runsFri 25 Jun 2027: 0 runsSat 26 Jun 2027: 0 runsSun 27 Jun 2027: 0 runsMon 28 Jun 2027: 1 runTue 29 Jun 2027: 0 runsWed 30 Jun 2027: 0 runsJulThu 1 Jul 2027: 1 runFri 2 Jul 2027: 1 runSat 3 Jul 2027: 1 runSun 4 Jul 2027: 1 runMon 5 Jul 2027: 1 runTue 6 Jul 2027: 1 runWed 7 Jul 2027: 1 runThu 8 Jul 2027: 0 runsFri 9 Jul 2027: 0 runsSat 10 Jul 2027: 0 runsSun 11 Jul 2027: 0 runsMon 12 Jul 2027: 1 runTue 13 Jul 2027: 0 runsWed 14 Jul 2027: 0 runsThu 15 Jul 2027: 0 runsFri 16 Jul 2027: 0 runsSat 17 Jul 2027: 0 runsSun 18 Jul 2027: 0 runsMon 19 Jul 2027: 1 runTue 20 Jul 2027: 0 runsWed 21 Jul 2027: 0 runsThu 22 Jul 2027: 0 runsFri 23 Jul 2027: 0 runsSat 24 Jul 2027: 0 runsSun 25 Jul 2027: 0 runsMon 26 Jul 2027: 1 runTue 27 Jul 2027: 0 runsWed 28 Jul 2027: 0 runsThu 29 Jul 2027: 0 runsFri 30 Jul 2027: 0 runsSat 31 Jul 2027: 0 runsAugSun 1 Aug 2027: 1 runMon 2 Aug 2027: 1 runTue 3 Aug 2027: 1 runWed 4 Aug 2027: 1 runThu 5 Aug 2027: 1 runFri 6 Aug 2027: 1 runSat 7 Aug 2027: 1 runSun 8 Aug 2027: 0 runsMon 9 Aug 2027: 1 runTue 10 Aug 2027: 0 runsWed 11 Aug 2027: 0 runsThu 12 Aug 2027: 0 runsFri 13 Aug 2027: 0 runsSat 14 Aug 2027: 0 runsSun 15 Aug 2027: 0 runsMon 16 Aug 2027: 1 runTue 17 Aug 2027: 0 runsWed 18 Aug 2027: 0 runsThu 19 Aug 2027: 0 runsFri 20 Aug 2027: 0 runsSat 21 Aug 2027: 0 runsSun 22 Aug 2027: 0 runsMon 23 Aug 2027: 1 runTue 24 Aug 2027: 0 runsWed 25 Aug 2027: 0 runsThu 26 Aug 2027: 0 runsFri 27 Aug 2027: 0 runsSat 28 Aug 2027: 0 runsSun 29 Aug 2027: 0 runsMon 30 Aug 2027: 1 runTue 31 Aug 2027: 0 runsSepWed 1 Sep 2027: 1 runThu 2 Sep 2027: 1 runFri 3 Sep 2027: 1 runSat 4 Sep 2027: 1 runSun 5 Sep 2027: 1 runMon 6 Sep 2027: 1 runTue 7 Sep 2027: 1 runWed 8 Sep 2027: 0 runsThu 9 Sep 2027: 0 runsFri 10 Sep 2027: 0 runsSat 11 Sep 2027: 0 runsSun 12 Sep 2027: 0 runsMon 13 Sep 2027: 1 runTue 14 Sep 2027: 0 runsWed 15 Sep 2027: 0 runsThu 16 Sep 2027: 0 runsFri 17 Sep 2027: 0 runsSat 18 Sep 2027: 0 runsSun 19 Sep 2027: 0 runsMon 20 Sep 2027: 1 runTue 21 Sep 2027: 0 runsWed 22 Sep 2027: 0 runsThu 23 Sep 2027: 0 runsFri 24 Sep 2027: 0 runsSat 25 Sep 2027: 0 runsSun 26 Sep 2027: 0 runsMon 27 Sep 2027: 1 runTue 28 Sep 2027: 0 runsWed 29 Sep 2027: 0 runsThu 30 Sep 2027: 0 runsOctFri 1 Oct 2027: 1 runSat 2 Oct 2027: 1 runSun 3 Oct 2027: 1 runMon 4 Oct 2027: 1 runTue 5 Oct 2027: 1 runWed 6 Oct 2027: 1 runThu 7 Oct 2027: 1 runFri 8 Oct 2027: 0 runsSat 9 Oct 2027: 0 runsSun 10 Oct 2027: 0 runsMon 11 Oct 2027: 1 runTue 12 Oct 2027: 0 runsWed 13 Oct 2027: 0 runsThu 14 Oct 2027: 0 runsFri 15 Oct 2027: 0 runsSat 16 Oct 2027: 0 runsSun 17 Oct 2027: 0 runsMon 18 Oct 2027: 1 runTue 19 Oct 2027: 0 runsWed 20 Oct 2027: 0 runsThu 21 Oct 2027: 0 runsFri 22 Oct 2027: 0 runsSat 23 Oct 2027: 0 runsSun 24 Oct 2027: 0 runsMon 25 Oct 2027: 1 runTue 26 Oct 2027: 0 runsWed 27 Oct 2027: 0 runsThu 28 Oct 2027: 0 runsFri 29 Oct 2027: 0 runs

What to know

This either/or rule is in POSIX and in every Vixie-derived cron. It only applies when both day fields are restricted: if either one is *, the other one alone decides.

Quartz, Spring and AWS EventBridge can say it directly with #: 0 0 9 ? * MON#1 is the first Monday at 09:00.

Variations

Gotchas

Related explainers

← Explain any cron expression