Cron / every 2 minutes

Cron every 2 minutes: */2 * * * *

*/2 in the minute field means "every second minute": 0, 2, 4 … 58 past every hour — 720 runs a day.

The expression

*/2 * * * *

In words: At every 2nd minute.

Field by field

FieldValueMeans
Minute (0–59)*/2every 2nd minute
Hour (0–23)*every hour
Day of month (1–31)*every day
Month (1–12)*every month
Day of week (0–6, Sunday = 0)*every day of the week

Next runs

Starting from 2026-11-27 00:00 UTC:

Try other expressions and timezones in the cron expression tool.

The same schedule on other platforms

Linux crontab. Edit with crontab -e. Runs in the server’s timezone unless you set CRON_TZ (cronie) or TZ.

*/2 * * * * /path/to/job.sh >> /var/log/job.log 2>&1

GitHub Actions. Schedules run in UTC on the default branch. GitHub’s shortest interval is every 5 minutes, so this one won’t run as often as written, and runs can start late when GitHub is busy.

on:
  schedule:
    - cron: '*/2 * * * *'

Kubernetes CronJob. Set timeZone (Kubernetes 1.27+) or the schedule follows the controller’s timezone, usually UTC. concurrencyPolicy: Forbid stops runs from overlapping.

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  schedule: "*/2 * * * *"
  timeZone: "Etc/UTC"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: job
              image: busybox
              command: ["sh", "-c", "echo running"]

AWS EventBridge Scheduler. Six fields (the last is the year); one of day-of-month or day-of-week must be ?. Pick the timezone on the schedule.

cron(0/2 * * * ? *)

Wisp. Wisp’s shortest interval is every 5 minutes. Describe the job and say how often — Wisp writes the function and the schedule.

"Every 2 minutes, fetch new orders from Shopify and post a summary to Slack."

Questions

How do I run on odd minutes instead? Start the step at 1: 1-59/2 * * * * runs at 1, 3, 5 … 59.

Will GitHub Actions run this every 2 minutes? No — GitHub’s minimum is 5 minutes, and scheduled runs are often delayed further.

Try any expression in the cron tool · Run it on a schedule with Wisp

Related