Hello All,
so far we had a good experience with ignite and we are using
ignite-scheduler in our project.
Cron expression is used for scheduling the task as given below:
SchedulerFuture<?> fut = ignite.scheduler().scheduleLocal(
new Callable<Integer>() {
private int invocations;
@Override public Integer call() {
invocations++;
ignite.compute().broadcast(
new IgniteRunnable() {
@Override public void run() {
//TODO task to be executed is coded
here
.......
.......
}
}
);
return invocations;
}
},
"*/1 * * * *");
With the above cron expression it is working fine but when wanted to give
exact date and time as in * */1 18 27 8 ? 2017 (27th august , 2017 at 6:00
pm) then we are unable to schedule using apache-ignite-scheduler. The above
cron is a valid cron expression.
please let me know whether i am going in the right direction or not. If not
could you please guide me through.
Thanks and regards,
chandrika
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cron-expression-in-agnite-schedulers-tp16433.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.