Cron Expression: Every Day at 8pm
The expression is 0 20 * * *. Paste it above to read it in English and preview the next run times. Below: field-by-field and how time zones affect it.
The expression
0 20 * * * runs a job once a day at 20:00 (8pm), every day.
Field by field
0 minute, 20 hour. On a 24-hour clock, 8pm = 12 + 8 = 20. The trailing * * * leave day, month and weekday open.
Converting pm to 24-hour
For any pm time after noon, add 12: 1pm=13, 5pm=17, 8pm=20, 11pm=23. am times map directly (7am=7), except 12am=midnight=0.
Time zones
Fires at 8pm in the server's local zone. On a UTC server that is 20:00 UTC. Use CRON_TZ to anchor it to a region.
Common variations
Weekdays at 8pm: 0 20 * * 1-5. 8:30pm: 30 20 * * *. Every evening at 6pm and 8pm: 0 18,20 * * *.
FAQ
What hour is 8pm in cron?
Hour 20. For pm times after noon add 12 to the clock hour.
How do I run at 8pm every weekday?
Use 0 20 * * 1-5.
Can I write 0 8pm * * *?
No. Cron has no am/pm token; use the 24-hour value 20 in the hour field.