You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "hydezzz (via GitHub)" <gi...@apache.org> on 2023/03/20 13:05:00 UTC

[GitHub] [shardingsphere-elasticjob] hydezzz opened a new issue, #2197: Does elastic-job support task nesting

hydezzz opened a new issue, #2197:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2197

   Does elastic-job support task nesting?
   like when you 
   implements SimpleJob  execute method,can i create  task again in execute method
   
   @Override
   public void execute(ShardingContext shardingContext) {
     createJob(String jobName, String cron, int shardingTotalCount, SimpleJob instance, String parameters, String description)
     .....
   }


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #2197: Does elastic-job support task nesting

Posted by "TeslaCN (via GitHub)" <gi...@apache.org>.
TeslaCN commented on issue #2197:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2197#issuecomment-1477634655

   Of course you can create another job in anywhere. But you may need to consider how to cleanup finished job.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere-elasticjob] hydezzz commented on issue #2197: Does elastic-job support task nesting

Posted by "hydezzz (via GitHub)" <gi...@apache.org>.
hydezzz commented on issue #2197:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2197#issuecomment-1477693191

   can i just
    reschedule job  or setting up the cron like 0/5 * * * * ? mean will executed every five seconds,because the parameters are the same
   another question:can i setting up different cron between outside job and inside job, like outside job cron setting 0 0 12 * * ? and inside job cron setting 0/5 * * * * ?  
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere-elasticjob] hydezzz commented on issue #2197: Does elastic-job support task nesting

Posted by "hydezzz (via GitHub)" <gi...@apache.org>.
hydezzz commented on issue #2197:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2197#issuecomment-1478981906

   > Of course you can create another job in anywhere. But you may need to consider how to cleanup finished job.
   
   can i just reschedule job or setting up the cron like 0/5 * * * * ? mean will executed every five seconds,because the parameters are the same
   another question:can i setting up different cron between outside job and inside job, like outside job cron setting 0 0 12 * * ? and inside job cron setting 0/5 * * * * ?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org