Closed wrj15034011352 closed 1 week ago
<dependency> <groupId>org.apache.shardingsphere.elasticjob</groupId> <artifactId>elasticjob-lite-spring-boot-starter</artifactId> <version>3.0.1</version> </dependency>
ElasticJob-Lite
I configured the task to be executed every 5S, but it is actually executed every 20s
elasticjob: regCenter: serverLists: 192.168.1.57:2181 namespace: elasticjob-lite-springboot jobs: simpleJob: elasticJobClass: com.example.elasticjobdemo.job.MySimpleJob cron: /5 ? * timeZone: GMT+08:00 shardingTotalCount: 1 overwrite: true server: port: 9000
check your registration center task config, maybe not overwrited
I also have this problem
Closed due to lack of reproducible unit tests and no response.
Which version of ElasticJob did you use?
Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
ElasticJob-Lite
Expected behavior And Actual behavior
I configured the task to be executed every 5S, but it is actually executed every 20s
elasticjob: regCenter: serverLists: 192.168.1.57:2181 namespace: elasticjob-lite-springboot jobs: simpleJob: elasticJobClass: com.example.elasticjobdemo.job.MySimpleJob cron: /5 ? * timeZone: GMT+08:00 shardingTotalCount: 1 overwrite: true server: port: 9000