T
ToolPrime

Cron Expression for At Minute 15 and 45 of Every Hour

Run a cron job at minute 15 and minute 45 of every hour using 15,45 * * * *. Provides two runs per hour offset from the top of the hour.

Expression

15,45 * * * *

At minute 15 and 45 of every hour

Use Cases

Code Examples

Crontab

# At minute 15 and 45 of every hour
15,45 * * * * /path/to/your/script.sh

GitHub Actions

name: Scheduled Job
on:
  schedule:
    - cron: '15,45 * * * *'
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: echo "Running At Minute 15 and 45"

systemd Timer

[Unit]
Description=At Minute 15 and 45 timer

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

[Install]
WantedBy=timers.target

Tips

Frequently Asked Questions

How do I run at specific minutes in cron?

List the minutes separated by commas: 15,45 * * * * runs at minute 15 and minute 45 of every hour. You can list any combination of minutes.

Why offset cron jobs from minute 0?

Many cron jobs default to the top of the hour (minute 0), which can cause resource spikes. Offsetting to minutes like 15, 30, or 45 distributes the load more evenly.

Related Cron Expressions