Cron on Christmas Day (December 25th)
Schedule a cron job on December 25th at midnight using 0 0 25 12 *. Full field breakdown for holiday scheduling with tips for seasonal automation.
Cron Expression
0 0 25 12 *
Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At 0 |
| Hour | 0 | At 0 |
| Day of Month | 25 | At 25 |
| Month | 12 | At December |
| Day of Week | * | Every day of the week (Sun–Sat) |
Detailed Explanation
The cron expression 0 0 25 12 * schedules a task to run once per year on December 25th (Christmas Day) at exactly midnight (00:00).
Field-by-field breakdown:
0(Minute): At minute 0. The task fires at the top of the hour.0(Hour): At hour 0 (midnight / 12 AM). The task runs at the very start of December 25th.25(Day of Month): On the 25th day of the month only.12(Month): In December only. The month field restricts execution to the last month of the year.*(Day of Week): Every day of the week. No restriction on the day of the week.
This means your task will execute exactly once per year, at midnight on December 25th. While cron does not have built-in holiday awareness, you can use specific date expressions to schedule tasks around known fixed-date holidays. Christmas Day automation might include activating holiday-themed website banners, enabling special holiday pricing, sending automated holiday greetings to customers, or switching to holiday-mode operations with reduced staffing alerts. Note that holidays based on lunar calendars or variable rules (like Easter or Thanksgiving) cannot be expressed in standard cron and require external holiday calendar integration. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.
Use Case
Great for automatically deploying holiday-themed website content and activating Christmas promotional pricing at midnight on December 25th each year.
Try It — Interactive Builder
at min 0, at hour 0, on day 25, in month 12
Next 10 Executions
Ctrl+Shift+C to copy expression