Every 10 Seconds: Spring @Scheduled expression
*/10 * * * * *“Every 10 seconds.”
| Field | Value | Meaning |
|---|---|---|
| Second | */10 | every 10 seconds |
| Minute | * | every minute |
| Hour | * | every hour |
| Day of month | * | every day |
| Month | * | every month |
| Day of week | * | every day |
Every 10 Seconds in every cron format
| Scheduler | Expression |
|---|---|
| Unix / Linux cron crontab, cronie, Vixie cron, Kubernetes CronJob, GitHub Actions | Not supported — Unix / Linux cron has no seconds field, and this schedule runs at second 0, 10, 20, 30, 40, 50. |
| Quartz Quartz Scheduler (Java) | */10 * * * * ? |
| Spring @Scheduled Spring Framework CronExpression and @Scheduled | */10 * * * * * |
| AWS EventBridge EventBridge rules and Scheduler cron() | Not supported — AWS EventBridge has no seconds field, and this schedule runs at second 0, 10, 20, 30, 40, 50. |
Next run times (UTC)
- Fri, Dec 4, 2026
22:36:30 - Fri, Dec 4, 2026
22:36:40 - Fri, Dec 4, 2026
22:36:50 - Fri, Dec 4, 2026
22:37:00 - Fri, Dec 4, 2026
22:37:10
Calculated when this page was generated. Use the tester above for live times in your own time zone.
Tip
Make sure each run finishes in under 10 seconds. In Spring, runs of one @Scheduled method never overlap, so a slow run delays the next one.
Copy-ready examples
// Every 10 seconds
@Scheduled(cron = "*/10 * * * * *", zone = "UTC")
public void runJob() {
// ...
}
// Or externalise it in application.yml:
// app.jobs.my-job.cron: "*/10 * * * * *"
// @Scheduled(cron = "${app.jobs.my-job.cron}", zone = "UTC")Common questions
What is the cron expression for every 10 seconds?
Every 10 seconds. Standard Unix cron cannot express this schedule (Unix / Linux cron has no seconds field, and this schedule runs at second 0, 10, 20, 30, 40, 50), so use the Quartz expression */10 * * * * ?, the Spring expression */10 * * * * *.
How do I run a Spring @Scheduled job every 10 seconds?
Use @Scheduled(cron = "*/10 * * * * *"). Spring cron has six fields, starting with seconds. Add zone = "Europe/London" (or any IANA zone) to run it in a specific time zone instead of the server's.
What is the Quartz cron expression for every 10 seconds?
*/10 * * * * ?. Quartz adds a seconds field at the start and requires ? in either the day-of-month or day-of-week field.
How do I write every 10 seconds for AWS EventBridge?
EventBridge cannot express this exact schedule: AWS EventBridge has no seconds field, and this schedule runs at second 0, 10, 20, 30, 40, 50.
Which time zone does this cron schedule use?
Cron runs in the time zone of the scheduler: the server's local zone for crontab, UTC for GitHub Actions and EventBridge rules, or the zone you set with CRON_TZ, Kubernetes timeZone, Spring zone or Quartz inTimeZone. Choose a zone in the tester above to see local run times.
More cron schedules
Similar: Every 30 Seconds (*/30 * * * * ?) · Every Minute (* * * * *)