Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Starting a rout once on start and then always at 3am

$
0
0
I have a route using jdbc component to fetch some data from db.

so my idea is:
from("quartz:<cron expression for 3am>").to(jdbc:...)

My problem is that "fireNow" seems only to work for simple timer. Is there
an easy way to fire the route once at start (after first run this route
triggers start of other routes.)?

Viewing all articles
Browse latest Browse all 5648

Trending Articles