DateTime will include current minute
This commit is contained in:
parent
09651491e3
commit
b688217ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ public class DateTimeTrigger implements HalTrigger,Configurator.PostConfiguratio
|
||||||
@Override
|
@Override
|
||||||
public void reset() {
|
public void reset() {
|
||||||
if (cronTimer != null)
|
if (cronTimer != null)
|
||||||
timeOut = cronTimer.next();
|
timeOut = cronTimer.next(System.currentTimeMillis() - 60*1000); // include this
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString(){
|
public String toString(){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue