Cron Every Weekday at 6 PM

Run a cron job every weekday at 6 PM with 0 18 * * 1-5. Complete field explanation, end-of-day automation examples, and best practices guide.

Cron Expression

0 18 * * 1-5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour18At 18
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 18 * * 1-5 schedules a task to run every weekday (Monday through Friday) at 6:00 PM.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the start of the hour.
  • 18 (Hour): At hour 18 (6 PM). The task runs at the end of business hours.
  • * (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 the month.
  • 1-5 (Day of Week): Monday through Friday. The range covers all five business days.

This means your task will execute 5 times per week, once at 6:00 PM on each business day. This schedule targets the close of the business day, making it ideal for end-of-day processing, daily summaries, and cleanup tasks. Running at 6 PM rather than 5 PM provides a buffer to ensure that all end-of-day activities and data entries are captured. Weekend days are excluded to avoid unnecessary processing. 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

Useful for triggering end-of-day data exports from your CRM to a data warehouse, capturing the full day's customer interactions.

Try It — Interactive Builder

Every weekday at 6: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.Mon, Mar 16, 2026, 06:00 PM
2.Tue, Mar 17, 2026, 06:00 PM
3.Wed, Mar 18, 2026, 06:00 PM
4.Thu, Mar 19, 2026, 06:00 PM
5.Fri, Mar 20, 2026, 06:00 PM
6.Mon, Mar 23, 2026, 06:00 PM
7.Tue, Mar 24, 2026, 06:00 PM
8.Wed, Mar 25, 2026, 06:00 PM
9.Thu, Mar 26, 2026, 06:00 PM
10.Fri, Mar 27, 2026, 06:00 PM

Ctrl+Shift+C to copy expression

Customize this expression