~/devtools / cron / every-30-minutes
tool::cron-guide

cron every-30-minutes

*/30 * * * *

Every 30 Minutes

ad · 728×90
Field Breakdown
*/30
Minute (0–59)
every 30
*
Hour (0–23)
any
*
Day of Month (1–31)
any
*
Month (1–12)
any
*
Day of Week (0–6)
any
0–59
0–23
1–31
1–12
0–6 (Sun–Sat)

Runs twice per hour at minutes 0 and 30. A practical choice when data freshness within 30 minutes is acceptable. Cuts resource usage in half compared to every-15-minutes.

Next 5 Executions (Example)
UTC example times after 2026-01-01
#1Thu, Jan 1, 2026, 12:00 AM UTC
#2Thu, Jan 1, 2026, 12:30 AM UTC
#3Thu, Jan 1, 2026, 01:00 AM UTC
#4Thu, Jan 1, 2026, 01:30 AM UTC
#5Thu, Jan 1, 2026, 02:00 AM UTC

Platform Usage

Linux Crontab— Run crontab -e and add the line
# crontab -e
*/30 * * * * /path/to/script.sh
# With logging:
*/30 * * * * /path/to/script.sh >> /var/log/myjob.log 2>&1
Kubernetes CronJob— Set in spec.schedule field
apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-cronjob
spec:
  schedule: "*/30 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: my-job
            image: my-image:latest
          restartPolicy: OnFailure
GitHub Actions— Add to on.schedule trigger
on:
  schedule:
    - cron: '*/30 * * * *'

jobs:
  my-job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: ./my-script.sh

Common Use Cases

  • ▸Email newsletter batch sending
  • ▸Inventory level checks and alerts
  • ▸Intermediate analytics aggregation
  • ▸Incremental backups
  • ▸External data synchronization

Related Presets

* * * * *every minute→*/5 * * * *every 5 minutes→*/10 * * * *every 10 minutes→*/15 * * * *every 15 minutes→
ad · 300×250
← Back to Cron Builder
// related tools
jwt
JWT Decoder
Decode and inspect JWT tokens. View header, payload, and signature details.
rx
Regex Tester
Test regular expressions with live matching, group highlighting, and explanations.
◑
Color Converter
Convert colors between HEX, RGB, HSL, and more. Pick colors visually.
ts
Timestamp Converter
Convert Unix timestamps to human-readable dates. Supports ms/s, UTC/local, and relative time.