kaihekaihe edited a comment on issue #1530:
URL: 
https://github.com/apache/shardingsphere-elasticjob/issues/1530#issuecomment-701200104


   trigger = newTrigger()
           .withIdentity("trigger3", "group1")
           .startAt(myTimeToStartFiring)  // if a start time is not given (if 
this line were omitted), "now" is implied
           .withSchedule(simpleSchedule()
               .withIntervalInSeconds(70)
               .withRepeatCount(10)) // note that 10 repeats will give a total 
of 11 firings
           .forJob(myJob) // identify job with handle to its JobDetail itself   
   
           .endAt(dateOf(22, 0, 0))             
           .build();
   
   
   how about this
   
   


----------------------------------------------------------------
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.

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


Reply via email to