code: @Override
      public void init() {
          Log.info("Starting Archive Manager");
          if (archiveEnv.getArchiveMethod().equals(ArchiveMethod.SIMPLE)) {
              executeArchive();
          } else if (archiveEnv.getArchiveMethod().equals(ArchiveMethod.SCHEDULED)) {
              jobs = new JobFactory().getJobs(archiveEnv);
              Schedulers.taskRegistry().registor(new CronTrigger(archiveEnv.getCronPattern()), new Runnable() {
                  @Override
                  public void run() {
                      executeArchive();
                  }
              });
          }
      }
docs: Inits the.