T
ToolPrime

Cron Expression for Every 15 Minutes

Run a cron job every 15 minutes using */15 * * * *. Ideal for tasks like cache invalidation, report generation, and data syncing.

Expression

*/15 * * * *

Every 15 minutes

Use Cases

Code Examples

Crontab

# Every 15 minutes
*/15 * * * * /path/to/your/script.sh

GitHub Actions

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

systemd Timer

[Unit]
Description=Every 15 Minutes timer

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

[Install]
WantedBy=timers.target

Tips

Frequently Asked Questions

What times does */15 * * * * run at?

It runs at minute 0, 15, 30, and 45 of every hour, which means 4 times per hour and 96 times per day.

Can I offset a 15-minute cron to start at :05?

Yes, use 5,20,35,50 * * * * to run every 15 minutes starting at minute 5 instead of minute 0.

Related Cron Expressions