T
ToolPrime

Cron Expression for Every 15 Minutes on Weekdays

Run a cron job every 15 minutes Monday through Friday using */15 * * * 1-5. High-frequency weekday monitoring without weekend overhead.

Expression

*/15 * * * 1-5

Every 15 minutes, Monday through Friday

Use Cases

Code Examples

Crontab

# Every 15 minutes, Monday through Friday
*/15 * * * 1-5 /path/to/your/script.sh

GitHub Actions

name: Scheduled Job
on:
  schedule:
    - cron: '*/15 * * * 1-5'
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Running Every 15 Minutes on Weekdays"

systemd Timer

[Unit]
Description=Every 15 Minutes on Weekdays timer

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

[Install]
WantedBy=timers.target

node-cron (Node.js)

import cron from 'node-cron'

// Every 15 minutes, Monday through Friday
cron.schedule('*/15 * * * 1-5', () => {
  console.log('Running Every 15 Minutes on Weekdays')
})

Spring (@Scheduled, Java)

// Every 15 minutes, Monday through Friday
@Scheduled(cron = "0 */15 * * * 1-5")
public void run() {
    // your task
}

Spring cron has 6 fields (a leading seconds field), so a 0 is prepended to the standard 5-field expression.

Tips

Frequently Asked Questions

How many times does this run per week?

It runs 96 times per day (every 15 minutes = 4 per hour times 24 hours) times 5 weekdays = 480 times per week.

How do I add business-hours restriction too?

Use */15 9-17 * * 1-5 to run every 15 minutes only from 9 AM to 5 PM on weekdays.

Related Cron Expressions

Related Tools