ppj19891020 opened a new issue #2011:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2011


   ## Bug Report
   
   job config disable is true,but job is running!!!!
   
   ```java
       private LiteJobConfiguration liteJobConfiguration(){
           return LiteJobConfiguration.newBuilder(
                   new SimpleJobConfiguration(
                           
JobCoreConfiguration.newBuilder(demoJobName,demoJobCron,demoJobShardingTotalCount).build()
 ,DemoJob.class.getCanonicalName()
                   )).overwrite(true).disabled(true).build();
       }
   ```
   
   running log:
   ```less
   2021-11-18 20:06:05.037  INFO 399 --- [emoJob_Worker-1] com.demo.job.DemoJob 
                    : <====Demo Job Begin====>
   2021-11-18 20:06:05.037  INFO 399 --- [emoJob_Worker-1] com.demo.job.DemoJob 
                    : ------Thread ID: 27, 任务总片数: 1, 当前分片项: 0
   2021-11-18 20:06:08.042  INFO 399 --- [emoJob_Worker-1] com.demo.job.DemoJob 
                    : <====Demo Job End====>
   2021-11-18 20:06:08.062  INFO 399 --- [emoJob_Worker-1] 
com.demo.job.MyElasticJobListener        : ===>demoJob JOB END TIME: 
1637237168062,TOTAL CAST: 3034 <===
   2021-11-18 20:06:10.032  INFO 399 --- [emoJob_Worker-1] 
com.demo.job.MyElasticJobListener        : ===>demoJob JOB BEGIN TIME: 
1637237170032 <===
   2021-11-18 20:06:10.040  INFO 399 --- [emoJob_Worker-1] com.demo.job.DemoJob 
                    : <====Demo Job Begin====>
   2021-11-18 20:06:10.041  INFO 399 --- [emoJob_Worker-1] com.demo.job.DemoJob 
                    : ------Thread ID: 27, 任务总片数: 1, 当前分片项: 0
   ```
   
   
   ### Which version of ElasticJob did you use?
   2.1.5
   
   ### Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
    ElasticJob-Lite
   
   ### Expected behavior
   job disabled
   
   ### Actual behavior
   job running
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior.
   
   ### Example codes for reproduce this issue (such as a github link).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to