Run a Cron Job Every Day at 2 PM
To run a job every day at 2:00 PM, use 0 14 * * *. Cron uses a 24-hour clock, so 2 PM is hour 14. The leading 0 is the minute.
The expression
0 14 * * * fires at 14:00 (2 PM) every day. Minute = 0, hour = 14, the rest are wildcards.
Why 14, not 2
Cron hours run 0–23. Add 12 to any PM time: 1 PM = 13, 2 PM = 14, 3 PM = 15. Midnight is 0 and noon is 12.
Change the minute
For 2:15 PM use 15 14 * * *. Weekdays only: 0 14 * * 1-5.
FAQ
What is the cron expression for every day at 2 PM?
0 14 * * * runs daily at 2:00 PM. In cron's 24-hour clock, 2 PM is hour 14.
Why is 2 PM written as 14 in cron?
Cron uses a 24-hour clock (0-23). For any PM time add 12 to the 12-hour value, so 2 PM becomes 14.
How do I run it at 2 PM on weekdays only?
Use 0 14 * * 1-5. The last field 1-5 restricts it to Monday through Friday.