git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1500753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-07-08 14:21:43 +00:00
parent 8335dfcf77
commit d57ebf88f0
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ import java.util.Calendar;
import java.util.Collections;
import java.util.List;
import java.util.StringTokenizer;
import javax.jms.MessageFormatException;
public class CronParser {
@ -44,7 +45,7 @@ public class CronParser {
// starting the next event at the top of the minute.
if (cronEntry.equals("* * * * *")) {
result = currentTime + 60 * 1000;
result = result / 1000 * 1000;
result = result / 60000 * 60000;
return result;
}