DevOps

Cron Job Every 5 Minutes (*/5 * * * *)

Generate and test cron expressions to trigger automated tasks every 5 minutes. Includes crontab syntax breakdown and next 5 run forecasts.

Presets:
Generated Expression
*/5 * * * *
Human Translation

Runs every 5 minutes of every hour, every day of month, every day of week, in every month.

Cron Job Every 5 Minutes (*/5 * * * *): Crontab Guide & Expression

Crontab Syntax Breakdown for '*/5 * * * *'

A standard Linux crontab contains five time fields separated by spaces: Minute, Hour, Day of Month, Month, and Day of Week. Using '*/5' specifies step values.

┌───────────── Minute (0 - 59) → */5 (every 5 minutes)
│ ┌─────────── Hour (0 - 23)   → * (every hour)
│ │ ┌───────── Day (1 - 31)    → * (every day of month)
│ │ │ ┌─────── Month (1 - 12)  → * (every month)
│ │ │ │ ┌───── Weekday (0 - 6) → * (every day of week)
* * * * *
*/5 * * * *

How to Use

  1. 1

    Schedule Pre-Configured

    This page is pre-loaded with the '*/5 * * * *' expression. Check the human explanation and upcoming execution forecast below.

  2. 2

    Customize or Tweak

    Switch to the Cron Generator tab to tweak minute intervals, hours, or specific weekdays.

  3. 3

    Copy Crontab Syntax

    Click the Copy button to instantly copy the 5-field cron string for your crontab or pipeline.

Frequently Asked Questions

What is the cron expression for every 5 minutes?+

The standard 5-field cron expression for every 5 minutes is '*/5 * * * *'. The '*/5' in the minute field triggers the job when the minute is evenly divisible by 5 (0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55).

How do I add a cron job that runs every 5 minutes to crontab?+

Run 'crontab -e' in your Linux/macOS terminal and add the line: '*/5 * * * * /path/to/command.sh >> /var/log/myjob.log 2>&1'.

Does */5 * * * * run at the 5th minute or every 5 minutes?+

It runs every 5 minutes. If you only want to run at minute 5 of every hour (e.g. 1:05, 2:05), the syntax is '5 * * * *' without the slash.