Now I have to run the schedule every day and check if the day is Monday. But it is hard to control the exact time(e.g. I want to run it on 1 o'clock) So are there any ways to implement my schedule directly?
Akka.system().scheduler().schedule(
Duration.create(5, TimeUnit.MINUTES),
Duration.create(1, TimeUnit.DAYS),
instance, "check",
Akka.system().dispatcher()
);