Cron Expression for Every 10 Minutes
Run a cron job every 10 minutes using */10 * * * *. A balanced interval for tasks that need regular execution without high frequency.
Expression
*/10 * * * * Every 10 minutes
Use Cases
- • Checking external API rate-limited endpoints
- • Generating periodic reports or summaries
- • Refreshing search indexes
- • Pruning expired session tokens
Code Examples
Crontab
# Every 10 minutes
*/10 * * * * /path/to/your/script.sh GitHub Actions
name: Scheduled Job
on:
schedule:
- cron: '*/10 * * * *'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "Running Every 10 Minutes" systemd Timer
[Unit]
Description=Every 10 Minutes timer
[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true
[Install]
WantedBy=timers.target Tips
- ✓ Runs 6 times per hour and 144 times per day
- ✓ A good compromise between freshness and resource usage
- ✓ Suitable for tasks with moderate execution time
- ✓ Works well for data synchronization between services
Frequently Asked Questions
How many times does */10 run per day?
*/10 runs 6 times per hour (at minutes 0, 10, 20, 30, 40, 50), which equals 144 times per day.
Is */10 the same as 0,10,20,30,40,50?
Yes, both expressions produce identical schedules. */10 is the shorter form.