Cron Every Day at 10 PM
Run a cron job every day at 10 PM with 0 22 * * *. Full field breakdown, nighttime scheduling use cases, and platform compatibility notes.
Cron Expression
0 22 * * *
Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At 0 |
| Hour | 22 | At 22 |
| Day of Month | * | Every day of the month (1–31) |
| Month | * | Every month (1–12) |
| Day of Week | * | Every day of the week (Sun–Sat) |
Detailed Explanation
The cron expression 0 22 * * * schedules a task to run once per day at exactly 10:00 PM (22:00).
Field-by-field breakdown:
0(Minute): At minute 0. The task fires at the start of the hour.22(Hour): At hour 22 (10 PM). The task runs late in the evening.*(Day of Month): Every day from 1 through 31. No restriction on the day of the month.*(Month): Every month from January through December. No restriction on the month.*(Day of Week): Every day of the week from Sunday through Saturday. No restriction on the day.
This means your task will execute once per day at 10:00 PM server time. Late evening scheduling is ideal for resource-intensive tasks that might impact daytime user experience. Running jobs at 10 PM provides a buffer before midnight maintenance windows and ensures that the workday's data is fully available for processing. This timing works well for tasks like full-text search index rebuilds, large data exports, or comprehensive security scans. 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
Commonly used for running comprehensive security vulnerability scans across all servers during low-traffic evening hours.
Try It — Interactive Builder
Every day at 10:00 PM
Next 10 Executions
Ctrl+Shift+C to copy expression