mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1500753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8335dfcf77
commit
d57ebf88f0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue