Every 20 Minutes: Unix / Linux cron expression
*/20 * * * *“Every 20 minutes.”
| Field | Value | Meaning |
|---|---|---|
| Minute | */20 | every 20 minutes |
| Hour | * | every hour |
| Day of month | * | every day |
| Month | * | every month |
| Day of week | * | every day |
Every 20 Minutes in every cron format
| Scheduler | Expression |
|---|---|
| Unix / Linux cron crontab, cronie, Vixie cron, Kubernetes CronJob, GitHub Actions | */20 * * * * |
| Quartz Quartz Scheduler (Java) | 0 */20 * * * ? |
| Spring @Scheduled Spring Framework CronExpression and @Scheduled | 0 */20 * * * * |
| AWS EventBridge EventBridge rules and Scheduler cron() | cron(0/20 * * * ? *) |
Next run times (UTC)
- Fri, Dec 4, 2026
01:00 - Fri, Dec 4, 2026
01:20 - Fri, Dec 4, 2026
01:40 - Fri, Dec 4, 2026
02:00 - Fri, Dec 4, 2026
02:20
Calculated when this page was generated. Use the tester above for live times in your own time zone.
Tip
Steps work cleanly when they divide 60. A step such as */25 would run at :00, :25 and :50, then again at :00 only 10 minutes later.
Copy-ready examples
# Every 20 minutes
*/20 * * * * /path/to/command >> /var/log/my-job.log 2>&1apiVersion: batch/v1
kind: CronJob
metadata:
name: my-job
spec:
# Every 20 minutes
schedule: "*/20 * * * *"
timeZone: "Etc/UTC"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: my-job
image: busybox:1.36
command: ["sh", "-c", "date; echo Hello"]# Every 20 minutes (UTC)
# GitHub Actions schedules always run in UTC and may start a few minutes late.
on:
schedule:
- cron: "*/20 * * * *"// Every 20 minutes
@Scheduled(cron = "0 */20 * * * *", zone = "UTC")
public void runJob() {
// ...
}
// Or externalise it in application.yml:
// app.jobs.my-job.cron: "0 */20 * * * *"
// @Scheduled(cron = "${app.jobs.my-job.cron}", zone = "UTC")Common questions
What is the cron expression for every 20 minutes?
In standard Unix cron (crontab, Kubernetes, GitHub Actions) use */20 * * * *. It means: Every 20 minutes.
How do I run a Spring @Scheduled job every 20 minutes?
Use @Scheduled(cron = "0 */20 * * * *"). Spring cron has six fields, starting with seconds. Add zone = "Europe/London" (or any IANA zone) to run it in a specific time zone instead of the server's.
What is the Quartz cron expression for every 20 minutes?
0 */20 * * * ?. Quartz adds a seconds field at the start and requires ? in either the day-of-month or day-of-week field.
How do I write every 20 minutes for AWS EventBridge?
Use cron(0/20 * * * ? *). EventBridge cron has six fields including a year, and one of the two day fields must be ?. Classic EventBridge rules run in UTC; EventBridge Scheduler accepts a time zone.
Which time zone does this cron schedule use?
Cron runs in the time zone of the scheduler: the server's local zone for crontab, UTC for GitHub Actions and EventBridge rules, or the zone you set with CRON_TZ, Kubernetes timeZone, Spring zone or Quartz inTimeZone. Choose a zone in the tester above to see local run times.
More cron schedules
Similar: Every 15 Minutes (*/15 * * * *) · Every 30 Minutes (*/30 * * * *)