Cron expression for every 20 minutes

*/20 * * * *

Every 20 minutes.

*/20 matches :00, :20 and :40, three runs an hour, 72 a day.

Try it and tweak it

Change any field below and the preview updates. Set the time zone to match your server.

✓ Valid cron

Every 20 minutes.

Next 10 runs

Calculating in your browser…

Times are computed in your browser for the selected zone and are informational. The server that runs the job uses its own zone (often UTC) and cron flavour, so verify there.

Same schedule in other dialects

Unix crontab*/20 * * * *
Quartz0 */20 * * * ?
Spring @Scheduled0 */20 * * * ?
AWS EventBridgecron(*/20 * * * ? *)

Variations

10-59/20 * * * *Every 20 minutes at :10, :30, :50

In other schedulers

crontab line*/20 * * * * /path/to/command
Quartz0 */20 * * * ?
Spring@Scheduled(cron = "0 */20 * * * ?")
AWS EventBridgecron(*/20 * * * ? *)
GitHub Actions- cron: '*/20 * * * *' (UTC)
Kubernetesschedule: "*/20 * * * *"

Questions

What is the cron expression for every 20 minutes?
*/20 * * * *. Every 20 minutes.
How do I write it in Quartz or Spring?
Add a seconds field and use "?" for the unused day field: 0 */20 * * * ?. In Spring: @Scheduled(cron = "0 */20 * * * ?").
What is the AWS EventBridge version?
cron(*/20 * * * ? *). AWS uses six fields with a year at the end and needs "?" in one of the day fields.
Which time zone will it use?
The time zone of the machine or service running cron. GitHub Actions and Vercel use UTC; Kubernetes uses spec.timeZone if set. The preview above lets you pick a zone.