Blog
Custom Print on Demand Apparel — Free Storefront for Your Business
Wild & Free Tools

Crontab Every 5 Minutes, Hourly, Daily & Weekly — Copy-Paste Reference

Last updated: April 20266 min readDeveloper Tools

The cron expression for "every 5 minutes" is */5 * * * *. Below is every common interval from every minute to yearly — with copy-paste expressions and setup instructions for Linux crontab, GitHub Actions, and AWS CloudWatch.

Every X Minutes

IntervalCron ExpressionRuns Per HourRuns Per Day
Every minute* * * * *601,440
Every 2 minutes*/2 * * * *30720
Every 5 minutes*/5 * * * *12288
Every 10 minutes*/10 * * * *6144
Every 15 minutes*/15 * * * *496
Every 20 minutes*/20 * * * *372
Every 30 minutes*/30 * * * *248

Every X Hours

IntervalCron ExpressionRuns Per DayTimes
Every hour0 * * * *2412:00 AM, 1:00 AM, 2:00 AM...
Every 2 hours0 */2 * * *1212:00 AM, 2:00 AM, 4:00 AM...
Every 3 hours0 */3 * * *812:00 AM, 3:00 AM, 6:00 AM...
Every 4 hours0 */4 * * *612:00 AM, 4:00 AM, 8:00 AM...
Every 6 hours0 */6 * * *412:00 AM, 6:00 AM, 12:00 PM, 6:00 PM
Every 8 hours0 */8 * * *312:00 AM, 8:00 AM, 4:00 PM
Every 12 hours0 */12 * * *212:00 AM, 12:00 PM

Daily, Weekly, Monthly

IntervalCron ExpressionWhen It Runs
Daily at midnight0 0 * * *12:00 AM every day
Daily at 9 AM0 9 * * *9:00 AM every day
Weekdays at 9 AM0 9 * * 1-59:00 AM Monday through Friday
Weekends at 10 AM0 10 * * 0,610:00 AM Saturday and Sunday
Every Monday at 9 AM0 9 * * 19:00 AM every Monday
Every Friday at 5 PM0 17 * * 55:00 PM every Friday
Monthly (1st at midnight)0 0 1 * *12:00 AM on the 1st
Quarterly0 0 1 1,4,7,10 *12:00 AM on Jan 1, Apr 1, Jul 1, Oct 1
Yearly0 0 1 1 *12:00 AM on January 1st

Need a custom interval? Build it visually and copy in one click.

Open Cron Generator

How to Set Up in Different Systems

Linux Crontab

The most common cron implementation. Open your crontab with crontab -e and add a line:

GitHub Actions

Add a schedule trigger to your workflow YAML:

AWS CloudWatch Events (EventBridge)

AWS uses a slightly different syntax with a cron() wrapper and 6 fields (adds year):

Platform Syntax Comparison

FeatureLinux CrontabGitHub ActionsAWS EventBridgeKubernetes CronJob
Fields5 (min-dow)5 (min-dow)6 (min-dow-year)5 (min-dow)
TimezoneSystem TZ✗ UTC only✗ UTC only~Configurable (v1.25+)
Minimum interval✓ Every minute~Every 5 minutes✓ Every minute✓ Every minute
Day-of-week start0=Sunday0=SundaySUN-SAT names0=Sunday
? character✗ Not supported✗ Not supported✓ Required in one day field✗ Not supported
Shorthand (@daily)✓ Supported✗ Not supported✗ Not supported✗ Not supported

When Every 5 Minutes Is Too Frequent

Running a cron job every 5 minutes means 288 executions per day. Before you set this interval, consider:

For real-time needs (sub-minute), cron is the wrong tool. Use a message queue, event stream, or webhook-based architecture instead.

Developer Tools

Every cron interval, one click to copy. Or build a custom schedule visually.

Open Cron Generator
Launch Your Own Clothing Brand — No Inventory, No Risk