Skip to content
Cron Expression Generator

Cron expression for every weekday at 8 AM

The cron expression to run a job every weekday at 8 AM is:

0 8 * * 1-5

At 8:00 AM, Monday through Friday.

"8 AM" means 8 AM in the server's time zone, which on most cloud machines is UTC. If your team is in Riyadh (UTC+3), 8 AM local time is 0 5 * * 1-5 on a UTC server; in Dubai (UTC+4) it is 0 4 * * 1-5. Places with daylight saving time, such as Cairo, London or New York, move by an hour twice a year, so a fixed UTC hour drifts. cronie (RHEL, Fedora, Amazon Linux) accepts a CRON_TZ=Africa/Cairo line above the job and Kubernetes CronJobs have spec.timeZone, but the classic cron on Debian and Ubuntu ignores CRON_TZ — use a systemd timer such as OnCalendar=Mon..Fri 08:00 Africa/Cairo there.

Test and customize this schedule

Format
Valid

5 fields (minute hour day month weekday), or 6 with seconds first. Names like MON-FRI, macros like @daily and full crontab lines work. Press / to focus.

English

At 8:00 AM, Monday through Friday.

العربية

في تمام الساعة 8:00 ص، من الإثنين إلى الجمعة.

    Quick presets

    Visual cron generator

    Pick options for each field — the expression above updates instantly.

    Next 5 executions

    Local time:

      Cheat sheet

      *
      Any value
      ,
      List — 1,15,30
      -
      Range — 1-5
      /
      Step — */10
      ?
      No specific value (day fields)
      @daily
      Macro for 0 0 * * *

      Field-by-field breakdown

      FieldValueMeaning
      Minute00
      Hour88
      Day of month*Every day of the month
      Month*Every month
      Day of week1-5Monday through Friday

      Copy-paste examples

      Linux crontab

      # crontab -e
      0 8 * * 1-5 /usr/local/bin/my-job.sh >> /var/log/my-job.log 2>&1

      Kubernetes CronJob

      apiVersion: batch/v1
      kind: CronJob
      metadata:
        name: my-job
      spec:
        schedule: "0 8 * * 1-5"
        concurrencyPolicy: Forbid
        jobTemplate:
          spec:
            template:
              spec:
                restartPolicy: OnFailure
                containers:
                  - name: my-job
                    image: busybox:1.36
                    command: ["sh", "-c", "date; echo Hello from cron"]

      GitHub Actions

      on:
        schedule:
          - cron: '0 8 * * 1-5'   # always UTC

      GitHub Actions evaluates schedules in UTC, does not accept macros such as @daily, and will not run workflows more often than every 5 minutes; runs can also be delayed during periods of high load.

      Common variations

      Click an expression to load it into the tool above.

      Cron expressionSchedule
      At 5:00 AM, Monday through Friday.
      At 8:00 AM, Sunday through Thursday.
      At 8:30 AM, Monday through Friday.
      At 8:00 AM and 1:00 PM, Monday through Friday.

      Frequently asked questions

      What does 0 8 * * 1-5 mean in cron?

      At 8:00 AM, Monday through Friday. The five fields are minute 0, hour 8, day of month *, month * and day of week 1-5.

      How do I run a cron job every weekday at 8 AM in Linux?

      Run crontab -e, add the line 0 8 * * 1-5 /path/to/command, then save and exit. Use absolute paths, redirect output to a log file, and confirm it runs with grep CRON /var/log/syslog.

      When will 0 8 * * 1-5 run next?

      It depends on the current time and the time zone of the machine running cron. The calculator on this page shows the next 5 run times in your local time zone; on a server, cron uses the system time zone, which is often UTC.

      Related cron schedules

      Browse all cron expression examples →