0 20 * * * — what this cron expression means
The cron expression 0 20 * * * runs at 20:00 (8:00 PM) every day. Here is the field-by-field breakdown and what it means in plain English.
What 0 20 * * * means
It runs at 20:00 (8:00 PM) every day.
Field by field
minute=0, hour=20, day-of-month=*, month=*, day-of-week=*.
Hour 20 is 8 PM on a 24-hour clock. It fires at 20:00 every day.
When it runs next
The next run is the next time the clock matches: at 20:00 (8:00 PM) every day.
FAQ
What does 0 20 * * * mean?
It runs once a day at 8:00 PM (20:00), every day.
How do I write 8 PM in cron?
Use hour 20 — cron uses a 24-hour clock, so 8 PM = 20.