Cron expression for every weekday at 6pm

ExamplesPlanner

The cron expression for every weekday at 6pm is 0 18 * * 1-5. Runs at the end of each working day, Monday through Friday. Preview the next runs in your timezone.

Paste an expression or choose a starting schedule below.

Select a field to edit it.

Start with:
Add to planner

Schedule summary

At 06:00 PM, Monday through Friday
Build a schedule

Run time in UTC. Change the timezone in Upcoming runs.

Run on these days

Valid changes update the expression above immediately.

Upcoming runs

The next 50 runs, shown in the schedule timezone and your local time.

Calculating…

About 0 18 * * 1-5

0 18 * * 1-5 — Runs at the end of each working day, Monday through Friday.

Cron reads the five fields as minute hour day month weekday. For this schedule that breaks down as:

FieldPositionMatches
0minute0
18hour18
*day of monthevery day
*monthevery month
1-5day of weekMonday–Friday

New to cron? Read the syntax reference or the FAQ.

Use it in crontab or GitHub Actions

The snippets below use UTC. The crontab timezone setting requires a compatible daemon such as Cronie. GitHub Actions defaults to UTC and accepts a timezone on each schedule. For other timezones, Kubernetes, EventBridge Scheduler, or Vercel, use the export menu in the calculator above.

crontab

# At 06:00 PM, Monday through Friday
# CRON_TZ requires a cron implementation that supports it, such as Cronie.
CRON_TZ=UTC
0 18 * * 1-5 /path/to/command

GitHub Actions workflow

# At 06:00 PM, Monday through Friday
on:
  schedule:
    - cron: '0 18 * * 1-5'
      timezone: "UTC"

Weekday & weekend schedules

Build a custom cron expression →