crontool
Paste a schedule, read it in English, see the next runs.

Run a Cron Job Every Day at 5 PM

To run a job every day at 5:00 in the evening, use 0 17 * * *. Cron uses 24-hour time, so 5 PM is hour 17.

The expression

0 17 * * * runs at 17:00 (5 PM) every day. Minute 0, hour 17, all other fields wildcard.

Converting PM to 24-hour

Add 12 to a PM hour: 1 PM = 13, 3 PM = 15, 5 PM = 17, 9 PM = 21. Noon is 12 and midnight is 0. AM hours stay as-is.

Weekdays only

For 5 PM on working days use 0 17 * * 1-5 (Monday through Friday).

FAQ

What is the cron expression for 5 PM daily?

0 17 * * * runs every day at 17:00. Cron uses 24-hour time, so 5 PM is hour 17.

How do I run at 5 PM on weekdays only?

Use 0 17 * * 1-5. The 1-5 in the day-of-week field means Monday through Friday.

How do I convert PM to cron time?

Add 12 to the PM hour: 1 PM = 13, 5 PM = 17, 9 PM = 21. Noon is 12 and midnight is 0.