Cron Every Weekday at 6 PM

0 18 * * 1-5

Execute weekday 6 PM cron with 0 18 * * 1-5. End of work day.

Test This Expression →

Understanding 0 18 * * 1-5

The cron expression 0 18 * * 1-5 breaks down as follows:

Field Value Meaning
Minute0At minute 0
Hour18At hour 18
Day of Month*Every day of month
Month*Every month
Day of Week1-5From 1 to 5

When Does 0 18 * * 1-5 Run?

This cron expression will execute:

Example Next Run Times

Starting from January 1, 2025 00:00:

How to Use This Cron Expression

Linux/Unix Crontab

0 18 * * 1-5 /path/to/your/script.sh

Kubernetes CronJob

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-cronjob
spec:
  schedule: "0 18 * * 1-5"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: my-job
            image: my-image
          restartPolicy: OnFailure

GitHub Actions

on:
  schedule:
    - cron: '0 18 * * 1-5'

Node.js (node-cron)

const cron = require('node-cron');

cron.schedule('0 18 * * 1-5', () => {
  console.log('Running scheduled task');
});

Frequently Asked Questions

What does the cron expression 0 18 * * 1-5 mean?
Execute weekday 6 PM cron with 0 18 * * 1-5. End of work day.
How do I test 0 18 * * 1-5 cron expression?
Use our free Cron Expression Tester to validate 0 18 * * 1-5. Enter the expression, see the next execution times, and verify it matches your expected schedule.
What timezone does 0 18 * * 1-5 run in?
Cron expressions use the system timezone by default. For servers, this is typically UTC. Always verify your server's timezone with 'timedatectl' or check your cron daemon configuration.
Can I use 0 18 * * 1-5 in Kubernetes?
Yes, Kubernetes CronJobs support standard 5-field cron expressions like 0 18 * * 1-5. Add it to your CronJob spec.schedule field.
How many times does 0 18 * * 1-5 run per day?
Runs on specific days of the week

Related Cron Expressions

More Cron Tools

GetDevUtils offers a suite of developer tools including: