Skip to content

Commit

Permalink
Merge pull request #532 from tulumvinh/3.x
Browse files Browse the repository at this point in the history
Honor when flush task is run via property
  • Loading branch information
tulumvinh authored Oct 21, 2016
2 parents eadfa99 + e75a531 commit fc2d5f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fc2d5f8

Please sign in to comment.