diff --git a/priam/src/main/java/com/netflix/priam/cluster/management/FlushTask.java b/priam/src/main/java/com/netflix/priam/cluster/management/FlushTask.java index 7c3a8c2a6..db9566a81 100644 --- a/priam/src/main/java/com/netflix/priam/cluster/management/FlushTask.java +++ b/priam/src/main/java/com/netflix/priam/cluster/management/FlushTask.java @@ -87,7 +87,7 @@ public static TaskTimer getTimer(IConfiguration config) { Integer time = new Integer(s[1]); if (name.equalsIgnoreCase("hour")) { - return new CronTimer(0, 0); //minute, sec after each hour + return new CronTimer(time, 0); //minute, sec after each hour } if (name.equalsIgnoreCase("daily")) { return new CronTimer(time, 0 , 0); //hour, minute, sec to run on a daily basis } else {