At a glance
See it on a calendar
UTC · no runs in windowNext runs
Use it in
# /etc/crontab 0 0,6,12,18 * * * user /usr/local/bin/your-script.sh
Field by field
Variations
What does 0 0,6,12,18 * * * mean?
The cron expression 0 0,6,12,18 * * * runs at 12:00 am, 06:00 am, 12:00 pm and 06:00 pm, every day. Cron expressions have five fields — minute, hour, day of month, month, and day of week — separated by spaces. Each field controls one piece of the schedule.
When you’d use this
This schedule is a common fit for jobs that need to run on a fixed cadence — anything that needs predictable timing. Paste it into your crontab, a node-cron call, a Kubernetes CronJob manifest, or a GitHub Actions workflow — the snippets above are ready to copy.
Gotchas
Cron runs in the system’s timezone unless you set TZ or schedule in UTC. Missed runs are not retroactively executed by standard cron — use anacron or systemd timers with Persistent=true if you need catch-up. Day-of-month and day-of-week combine with OR semantics in most cron implementations, which can be surprising.