private void deleteSchedule(String jobName) throws SchedulerException {
  inMemoryScheduler.deleteJobIfPresent(jobName);
  persistentScheduler.deleteJobIfPresent(jobName);
}

private void deleteSchedule ( String jobName ) throws SchedulerException { inMemoryScheduler . deleteJobIfPresent ( jobName ) ; persistentScheduler . deleteJobIfPresent ( jobName ) ; }
deletes a schedule from the scheduler
