You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by chetan <ch...@globallogic.com.INVALID> on 2020/05/07 07:00:59 UTC

Next schedule date is incorrectly set internally even CRON expression is correct one

Hi All,

Need a help on next scheduled time is incorrectly set internally even CRON
expression is correct one issue.
We are using apache-activemq-5.14.3 version  for scheduling job and found
one rare issue.

We have scheduled the job for 1st May 2020 and generated the cron expression
and set on activeMQ.
it seems that cron expression (18 11 01 05 *) is generated and set in
activeMQ site correctly whereas next scheduled time  is scheduled
(01/06/2020 , 1st June 2020). ideally it should be set as (01/05/2020, 1st
May 2020).

Also we tried to schedule another cron expression for 1st Jun 2020 and in
such case both next scheduled time  and cron expression correctly set.

We found that next scheduled time is internally set by activeMQ based on
cron expression and we didn't add any code for setting next scheduled time 
from our code.

Please find the attached screenshot and assist on the same ASAP .
activeMQ_issue.jpg
<http://activemq.2283324.n4.nabble.com/file/t379928/activeMQ_issue.jpg>  



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html