Cron Reference

Cron Expression 0 18 * * 1-5 Weekdays at 6PM Linux Crontab (2026)

Cron expression 0 18 * * 1-5 means At 6:00 PM, Monday through Friday.

Cron expression 0 18 * * 1-5 weekdays at 6PM for Linux crontab in 2026. Use this guide for Monday-Friday scheduling, timezone checks, and safer end-of-day jobs.

Cron Expression

0 18 * * 1-5
0Minute
18Hour
*Day
*Month
1-5Weekday

Common use cases

  • Weekday end-of-day reconciliation scripts
  • Business-day data exports that skip weekends
  • 6PM summary reports for operations teams
  • Post-close processing on Linux servers

How to use this cron schedule

If your query is cron expression 0 18 * * 1-5 weekdays at 6pm Linux crontab, the direct entry is `0 18 * * 1-5 /path/to/script.sh`. This runs Monday through Friday at 6:00 PM server time and skips weekend execution. In 2026, this is a high-signal schedule for day-end workflows that should produce stable next-morning outputs without weekend noise. Keep the cron line explicit and include logging from the first release. A practical baseline is to append stdout and stderr to a rotating log so failures are visible before stakeholders review reports.

Linux weekday jobs can fail quietly when runtime assumptions are implicit. Validate weekday numbering on your target distribution, test non-interactive shell behavior, and use absolute binary paths. If your server runs UTC while business users think in local U.S. time, document expected local execution windows in runbooks and pager notes. For critical outputs, include record counts and checksums in logs so operators can verify correctness quickly after each run. These small controls prevent a correct cron expression from producing misleading operational outcomes.

Reliable 6PM weekday automation in 2026 should separate extraction, validation, and publish stages where possible. This lowers blast radius and gives clear recovery points when one step fails. Add alerts for consecutive misses and sustained duration drift, not just one-off anomalies. Keep writes idempotent to make retries safe. If weekend processing becomes necessary later, add a dedicated weekend cron instead of overloading this weekday schedule with conditionals. Use this page as the Linux reference for `0 18 * * 1-5`, then tune related daily and hourly patterns as requirements evolve.

Want to customize this schedule?

Open it in the visual builder to tweak the expression interactively.

Open in Builder

Need to monitor this cron job?

Cronhub tracks your scheduled jobs and alerts you if they fail or run late.

Monitor with Cronhub

Platform usage examples

Linux / Unix — crontab
# Edit your crontab
crontab -e

# Add this line to run expression 0 18 * * 1-5 weekdays at 6pm linux crontab (2026)
0 18 * * 1-5 /usr/bin/php /var/www/html/script.php

# Or run a shell script
0 18 * * 1-5 /home/user/scripts/job.sh >> /var/log/job.log 2>&1
GitHub Actions
# .github/workflows/scheduled.yml
name: Scheduled Job

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

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run job
        run: echo "Running expression 0 18 * * 1-5 weekdays at 6pm linux crontab (2026)"
Kubernetes CronJob
apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-scheduled-job
spec:
  schedule: "0 18 * * 1-5"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: job
            image: my-image:latest
          restartPolicy: OnFailure

Related developer tools

More free tools for engineering workflows that pair with scheduled jobs:

Frequently asked questions

What is the cron expression for expression 0 18 * * 1-5 weekdays at 6pm linux crontab (2026)?

The cron expression is 0 18 * * 1-5. Cron expression 0 18 * * 1-5 weekdays at 6PM for Linux crontab in 2026. Use this guide for Monday-Friday scheduling, timezone checks, and safer end-of-day jobs.

How do I schedule a cron job to run expression 0 18 * * 1-5 weekdays at 6pm linux crontab (2026) in Linux?

Open your crontab with "crontab -e" and add a new line: 0 18 * * 1-5 /path/to/your/script.sh — this schedules your script to run expression 0 18 * * 1-5 weekdays at 6pm linux crontab (2026). Save and exit; the cron daemon picks up the change immediately.

What does the cron expression "0 18 * * 1-5" mean?

Cron expression 0 18 * * 1-5 weekdays at 6PM for Linux crontab in 2026. Use this guide for Monday-Friday scheduling, timezone checks, and safer end-of-day jobs.

Can I use "0 18 * * 1-5" in GitHub Actions?

Yes. In your workflow YAML, set the schedule trigger: on: schedule: - cron: '0 18 * * 1-5'. GitHub Actions uses standard 5-field Unix cron syntax, so this expression works as-is.

Related cron schedules

More Free Developer Tools