Cron Expression for Every 5 Minutes: */5 * * * *

Runs every 5 minutes (:00, :05, :10, ... :55). Ideal for: The fastest reliable schedule supported by GitHub Actions, ideal for API polling, SSL/uptime monitors, and incremental syncs.

*/5 * * * *
Runs every 5 minutes (:00, :05, :10, ... :55)

5-Field Cron Breakdown

*/5
Minute
Every 5th minute (0, 5, 10...55)
*
Hour
Every hour
*
Day of Month
Every day
*
Month
Every month
*
Day of Week
Every weekday

Live Next-10-Runs Simulator (UTC & Local Time)

Runs every 5 minutes (:00, :05, :10, ... :55)

Run #UTC Execution TimeSelected TimezoneRelative
Calculating next 10 runs locally...

Copy-Paste Snippets Across Platforms

Linux Crontab (Overlap-Safe with flock)

*/5 * * * * /usr/bin/flock -n /tmp/my-job.lock /usr/local/bin/job.sh >> /var/log/my-job.log 2>&1

GitHub Actions Workflow YAML

on:
  schedule:
    - cron: '*/5 * * * *' # UTC only
  workflow_dispatch: {}

Quartz (6-Field) & AWS EventBridge

Quartz 6-field: 0 */5 * * * ?
AWS EventBridge: cron(*/5 * * * ? *)

Kubernetes CronJob Spec

apiVersion: batch/v1
kind: CronJob
metadata:
  name: scheduled-job
spec:
  schedule: "*/5 * * * *"
  timeZone: "Etc/UTC"
  concurrencyPolicy: Forbid

Production Pitfalls & Best Practices

Key Pitfall: GitHub Actions may queue `*/5` workflows by 2–10 minutes during peak UTC hours; make your job idempotent.
Common Use Cases: The fastest reliable schedule supported by GitHub Actions, ideal for API polling, SSL/uptime monitors, and incremental syncs.
JetBrains SQL Explain Lens

Slow Nightly Cron Queries? Inspect SQL Plans Instantly in Your IDE

Optimize heavy nightly ETL, billing, and cleanup cron queries with JetBrains SQL Explain Lens and our production database runbooks available on Gumroad.

Frequently Asked Questions

What does the cron expression `*/5 * * * *` mean?

`*/5 * * * *` means: Runs every 5 minutes (:00, :05, :10, ... :55). Its 5 fields map to Minute=*/5, Hour=*, Day-of-Month=*, Month=*, and Day-of-Week=*.

How do I run `*/5 * * * *` in GitHub Actions?

Add `on: schedule: - cron: '*/5 * * * *'` to your workflow YAML. Remember GitHub Actions always interprets cron schedules in UTC and enforces a minimum 5-minute interval.

What is the Quartz / AWS EventBridge equivalent of `*/5 * * * *`?

In 6-field Quartz cron use `0 */5 * * * ?` (adding leading seconds `0` and `?` mutual exclusion). In AWS EventBridge use `cron(*/5 * * * ? *)`.

Related Cron Recipes