@Override
  @Transactional(readOnly = false)
  public void updateCronTask(CronTaskEntity cronTaskEntity) {
    cronTaskDao.update(cronTaskEntity);

    applicationContext.getBean(CronScheduler.class).updateJob(cronTaskEntity);
  }
 @Override
 public CronTaskEntity getCronTaskByFrequencyName(String name) {
   FrequencyEntity frequencyEntity = frequencyDao.getByFrequencyName(name);
   return cronTaskDao.getByFrequency(frequencyEntity);
 }
 @Override
 public Set<CronTaskEntity> getAllCronTasks() {
   return cronTaskDao.getAll();
 }