Cron Expression: Cron Every Thursday

Learn how to create a cron expression for 'cron every thursday'. Runs every Thursday at midnight with our free cron generator tool.

Cron Expression

0 0 * * 4

Want to tweak this schedule?

Edit this expression in our interactive generator and see it broken down in real time.

Open in Cron Generator

Expression Breakdown

0
Minute
(0-59)
0
Hour
(0-23)
*
Day
(1-31)
*
Month
(1-12)
4
Weekday
(0-6)
Field Value Meaning
Minute 0 At minute 0
Hour 0 At hour 0
Day of Month * Any day
Month * Any month
Day of Week 4 Thursday

This cron expression represents: cron every thursday

Cron Expression

0 0 * * 4

What This Expression Does

Runs every Thursday at midnight. In cron’s day-of-week field, days are numbered from Sunday: 0 = Sunday, so 4 = Thursday. The named form THU is also accepted: 0 0 * * THU.

Use Cases

This cron schedule is commonly used for:

How to Use

  1. Copy the cron expression above
  2. Open your crontab with crontab -e
  3. Add a new line with: 0 0 * * 4 /path/to/your/script.sh
  4. Save and exit

Alternative Formats