14

it's strange, i setup corn as

@Scheduled(cron= "0 0/10 *  * * ? ")

It did trigger every 10 minutes, but the issue is task runs each second.

Paris Tao
  • 335
  • 1
  • 3
  • 11

1 Answers1

18

This is what javadoc says :

CronSequenceGenerator

the first field of the cron is for seconds.

Pirate X
  • 3,023
  • 5
  • 33
  • 60
Roaslin
  • 181
  • 1
  • 6