chapter_008/src/main/java/ru/job4j/trigger/Start.java
/**
     * Every 30 minuets delete reserve of seats from database.
     *
     * @param jobExecutionContext - jobExecutionContext.
     */
Every 30 minuets delete reserve of seats from database.
Every 30 minuets delete reserve of seats from database .
@Override
    public void execute(JobExecutionContext jobExecutionContext) {
        Service persistence = Service.getInstance();
        LOG.info("--------Delete all reserve tickets--------");
        LOG.info("--------START--------");
        persistence.deleteReserve();
        LOG.info("---------FINISH---------");
    }
@ Override public void execute ( JobExecutionContext jobExecutionContext ) { Service persistence = Service . getInstance ( ) ; LOG . info ( "--------Delete all reserve tickets--------" ) ; LOG . info ( "--------START--------" ) ; persistence . deleteReserve ( ) ; LOG . info ( "---------FINISH---------" ) ; }
Every 30 minuets delete reserve of seats from database.
Every 30 minuets delete reserve of seats from database .