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:

  1. public class MyJobDemo {
  2. public static void main(final String[] args) {
  3. JobBootstrap.execute(new MyJob());
  4. }
  5. }