Cron on July 1st at Midnight
Schedule a cron job on July 1st at midnight using 0 0 1 7 *. Complete field-by-field breakdown for mid-year and fiscal half-year scheduling tasks.
Cron Expression
0 0 1 7 *
Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At 0 |
| Hour | 0 | At 0 |
| Day of Month | 1 | At 1 |
| Month | 7 | At July |
| Day of Week | * | Every day of the week (Sun–Sat) |
Detailed Explanation
The cron expression 0 0 1 7 * schedules a task to run once per year on July 1st 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 July 1st.1(Day of Month): On the 1st day of the month only.7(Month): In July only. The month field restricts execution to the seventh month of the year, marking the mid-year point.*(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 July 1st. July 1st marks the beginning of the second half of the calendar year and is also the start of the fiscal year for many governments and organizations (including the US federal government, many state governments, and numerous international entities). This makes it an important scheduling point for fiscal-year transitions, mid-year performance reviews, semi-annual report generation, and H2 planning kickoffs. It is also relevant for businesses that operate on a July-June fiscal calendar. 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
Ideal for generating semi-annual financial performance reports comparing H1 results against annual targets and projecting H2 performance trends.
Try It — Interactive Builder
at min 0, at hour 0, on day 1, in month 7
Next 10 Executions
Ctrl+Shift+C to copy expression