Cron expression for every 30 minutes

*/30 * * * *

Every 30 minutes.

*/30 matches :00 and :30, so the job runs every half hour: 48 times a day. 0,30 * * * * is identical.

Try it and tweak it

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

✓ Valid cron

Every 30 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*/30 * * * *
Quartz0 */30 * * * ?
Spring @Scheduled0 */30 * * * ?
AWS EventBridgecron(*/30 * * * ? *)

Variations

15,45 * * * *Every 30 minutes at :15 and :45
*/30 8-20 * * *Every half hour from 08:00 to 20:30

In other schedulers

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

Questions

What is the cron expression for every 30 minutes?
*/30 * * * *. Every 30 minutes.
How do I write it in Quartz or Spring?
Add a seconds field and use "?" for the unused day field: 0 */30 * * * ?. In Spring: @Scheduled(cron = "0 */30 * * * ?").
What is the AWS EventBridge version?
cron(*/30 * * * ? *). 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.