T
ToolPrime

Cron Expression for Monday to Friday at 9 AM

Run a cron job at 9 AM every weekday using 0 9 * * 1-5. The go-to schedule for daily business notifications and reports.

Expression

0 9 * * 1-5

At 09:00 Monday through Friday

Use Cases

Code Examples

Crontab

# At 09:00 Monday through Friday
0 9 * * 1-5 /path/to/your/script.sh

GitHub Actions

name: Scheduled Job
on:
  schedule:
    - cron: '0 9 * * 1-5'
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Running Monday to Friday at 9 AM"

systemd Timer

[Unit]
Description=Monday to Friday at 9 AM timer

[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true

[Install]
WantedBy=timers.target

Tips

Frequently Asked Questions

Does this skip weekends?

Yes, 1-5 in the day-of-week field means Monday through Friday only. The job will not run on Saturday or Sunday.

How do I add this to my crontab?

Run crontab -e and add the line: 0 9 * * 1-5 /path/to/your/script.sh. Save and exit to activate.

Related Cron Expressions