Cron at End of Business Day (5 PM Weekdays)

Schedule a cron job at 5 PM on weekdays using 0 17 * * 1-5. Complete field-by-field breakdown for end-of-day automation and daily wrap-up tasks.

Cron Expression

0 17 * * 1-5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour17At 17
Day of Month*Every day of the month (1–31)
Month*Every month (1–12)
Day of Week1-5From Monday to Friday

Detailed Explanation

The cron expression 0 17 * * 1-5 schedules a task to run at 5:00 PM every weekday, marking the end of the standard business day.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the top of the hour.
  • 17 (Hour): At hour 17 (5 PM). This aligns with the conventional end of business hours in most industries.
  • * (Day of Month): Every day from 1 through 31. No restriction on the day of the month.
  • * (Month): Every month from January through December. No restriction on which month.
  • 1-5 (Day of Week): Monday through Friday. The range covers all five standard business days.

This means your task will execute 5 times per week, once each weekday at 5:00 PM. The end-of-business-day trigger is the natural counterpart to the start-of-business-day pattern. It is the ideal time to generate daily activity summaries, archive the day's data, deactivate business-hour services, send end-of-day reports to management, or trigger overnight batch job preparation. This timing ensures the task has access to the full day's business activity while still running before evening maintenance windows begin. Pair this with a 9 AM start-of-day cron for complete business-day bookending. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.

Use Case

Great for generating daily sales summary reports at the close of business, including total orders, revenue, and top-selling products for the day.

Try It — Interactive Builder

Every weekday at 5:00 PM

**/5*/10*/15*/300
**/2*/3*/6*/120
*1151,15*/2
*11,4,7,101,7
*1-50,615

Next 10 Executions

1.Fri, Mar 13, 2026, 05:00 PM
2.Mon, Mar 16, 2026, 05:00 PM
3.Tue, Mar 17, 2026, 05:00 PM
4.Wed, Mar 18, 2026, 05:00 PM
5.Thu, Mar 19, 2026, 05:00 PM
6.Fri, Mar 20, 2026, 05:00 PM
7.Mon, Mar 23, 2026, 05:00 PM
8.Tue, Mar 24, 2026, 05:00 PM
9.Wed, Mar 25, 2026, 05:00 PM
10.Thu, Mar 26, 2026, 05:00 PM

Ctrl+Shift+C to copy expression

Customize this expression