diff --git a/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java b/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java index 6ea403681b..25aec69b6b 100644 --- a/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java +++ b/activemq-client/src/main/java/org/apache/activemq/broker/scheduler/CronParser.java @@ -42,7 +42,7 @@ public class CronParser { // Handle the once per minute case "* * * * *" // starting the next event at the top of the minute. - if (cronEntry.startsWith("* * * * *")) { + if (cronEntry.equals("* * * * *")) { result = currentTime + 60 * 1000; result = result / 1000 * 1000; return result; diff --git a/activemq-web-console/src/main/webapp/scheduled.jsp b/activemq-web-console/src/main/webapp/scheduled.jsp index 6f64179f55..31acfd397c 100644 --- a/activemq-web-console/src/main/webapp/scheduled.jsp +++ b/activemq-web-console/src/main/webapp/scheduled.jsp @@ -40,13 +40,13 @@ - ${row.jobId} - ${row.cronEntry} - ${row.nextExecutionTime} - ${row.start} - ${row.delay} - ${row.period} - ${row.repeat} + + + + + + + ">Delete