<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:batch="http://www.springframework.org/schema/batch"
       xmlns:task="http://www.springframework.org/schema/task"
       xsi:schemaLocation=
        "http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
        http://www.springframework.org/schema/batch
        http://www.springframework.org/schema/task/spring-batch.xsd
        http://www.springframework.org/schema/task
        http://www.springframework.org/schema/task/spring-task.xsd">
    
    <bean id="flightScheduler" class="com.raulsuarezdabo.flight.batch.scheduler.FlightScheduler"></bean>
    
    <task:scheduled-tasks>
        <task:scheduled ref="flightScheduler" method="run" cron="*/5 * * * * *"/>
    </task:scheduled-tasks>

</beans>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:batch="http://www.springframework.org/schema/batch"
       xmlns:task="http://www.springframework.org/schema/task"
       xsi:schemaLocation=
        "http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
        http://www.springframework.org/schema/batch
        http://www.springframework.org/schema/task/spring-batch.xsd
        http://www.springframework.org/schema/task
        http://www.springframework.org/schema/task/spring-task.xsd">
    
    <bean id="flightScheduler" class="com.raulsuarezdabo.flight.batch.scheduler.FlightScheduler"></bean>
    
    <task:scheduled-tasks>
        <task:scheduled ref="flightScheduler" method="run" cron="0 9 * * * *"/>
    </task:scheduled-tasks>

</beans>
Fix mistake on run cron each day and not on each 5 seconds
Fix mistake on run cron each day and not on each 5 seconds
