Job development
ElasticJob-Lite and ElasticJob-Cloud provide a unified job interface, developers only need to develop business jobs once, and then they can deploy to different environments according to different configurations.
For details of job development, please refer to ElasticJob-Lite user manual.
Job start
You need to define the main
method and call it JobBootstrap.execute()
, for example:
public class MyJobDemo {
public static void main(final String[] args) {
JobBootstrap.execute(new MyJob());
}
}
当前内容版权归 ElasticJob 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ElasticJob .