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
- • Avoiding the top-of-hour rush by offsetting runs
- • Processing data twice per hour at non-standard times
- • Running staggered checks that do not align with other jobs
- • Splitting hourly work into two smaller batches
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
- ✓ Avoids minute 0 and 30 when many other cron jobs typically run
- ✓ Runs 48 times per day (twice per hour)
- ✓ Useful for load-balancing multiple cron jobs across an hour
- ✓ Comma-separated values let you specify exact minutes
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.