package de.predic8.quartz;

import de.predic8.routes.DailyMailNotification;
import org.apache.camel.builder.RouteBuilder;

public class DailyMail extends RouteBuilder {

    @Override
    public void configure() throws Exception {
        // cron: at 10:00 pm
        //from("quartz2://notify?cron=0+0+22+*+*+?")
        //from("quartz2://notify?cron=0+0+0/24+*+*+?") // every 30 minutes
        //from("quartz2://notify?cron=0+*+*+*+*+?")
        //from("quartz2://notify?cron=0+0+21+?+*+*+*") // at 21:00 every day
        from("quartz2://notify?cron=*/5+*+*+*+*+*+*")
                .routeId("DailyMal Quartz")
                .process(exchange -> {
                    DailyMailNotification notify = new DailyMailNotification();
                    System.out.println("Sending daily mail...");
                    notify.start();
                });
    }
}

@@ -550,25 +550,45 @@
 ron=
-*
+0+0
 /5+*+
-*+*+*+*+*%22)
+1/1+*+?+*%22) //every 5 minutes
 %0A   

fix in cron