Cron Expression
0 0 * * 4
Learn how to create a cron expression for 'cron every thursday'. Runs every Thursday at midnight with our free cron generator tool.
| 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
0 0 * * 4
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.
This cron schedule is commonly used for:
crontab -e
0 0 * * 4 /path/to/your/script.sh
30 7 * * 4 /path/to/script.sh
0 0 * * THU /path/to/script.sh
0 0 * * 4 /path/to/script.sh >> /var/log/cron.log 2>&1