You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/09/30 07:01:13 UTC

[GitHub] [shardingsphere-elasticjob] kaihekaihe commented on issue #1530: Any plan to support “fix_delay”,"fix_rate" job?

kaihekaihe commented 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(10)
               .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:
users@infra.apache.org