Cron Every 10 Seconds (Quartz)
Cron expression * * * * * */10 means Every second.
Quartz cron expression to run a job every 10 seconds: * * * * * */10. Requires Quartz scheduler — standard Unix cron does not support sub-minute intervals.
Cron Expression
Common use cases
- High-frequency polling in Quartz-based Java applications
- Near-real-time event processing in Spring Batch
- Fast health-check probes in enterprise schedulers
- Frequent cache invalidation in low-latency systems
Want to customize this schedule?
Open it in the visual builder to tweak the expression interactively.
Open in BuilderNeed to monitor this cron job?
Cronhub tracks your scheduled jobs and alerts you if they fail or run late.
Platform usage examples
# Edit your crontab
crontab -e
# Add this line to run every 10 seconds (quartz)
* * * * * */10 /usr/bin/php /var/www/html/script.php
# Or run a shell script
* * * * * */10 /home/user/scripts/job.sh >> /var/log/job.log 2>&1# .github/workflows/scheduled.yml
name: Scheduled Job
on:
schedule:
- cron: '* * * * * */10'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run job
run: echo "Running every 10 seconds (quartz)"apiVersion: batch/v1
kind: CronJob
metadata:
name: my-scheduled-job
spec:
schedule: "* * * * * */10"
jobTemplate:
spec:
template:
spec:
containers:
- name: job
image: my-image:latest
restartPolicy: OnFailureRelated developer tools
More free tools for engineering workflows that pair with scheduled jobs:
Frequently asked questions
What is the cron expression for every 10 seconds (quartz)?
The cron expression is * * * * * */10. Quartz cron expression to run a job every 10 seconds: * * * * * */10. Requires Quartz scheduler — standard Unix cron does not support sub-minute intervals.
How do I schedule a cron job to run every 10 seconds (quartz) in Linux?
Open your crontab with "crontab -e" and add a new line: * * * * * */10 /path/to/your/script.sh — this schedules your script to run every 10 seconds (quartz). Save and exit; the cron daemon picks up the change immediately.
What does the cron expression "* * * * * */10" mean?
Quartz cron expression to run a job every 10 seconds: * * * * * */10. Requires Quartz scheduler — standard Unix cron does not support sub-minute intervals.
Can I use "* * * * * */10" in GitHub Actions?
Yes. In your workflow YAML, set the schedule trigger: on: schedule: - cron: '* * * * * */10'. GitHub Actions uses standard 5-field Unix cron syntax, so this expression works as-is.