Quartz Job not working on specified Cron

Hi,

have a Quartz job configured with the following cron expression: 0 */30 * ? * *. This setup is intended for the job to execute every 30 minutes. However, the job has stopped executing, even though the next fire time is still displayed correctly.

Observed Behavior:

  • The job is scheduled to run every 30 minutes.
  • The next fire time appears as expected, but the job does not execute.
  • No errors or exceptions are logged that could indicate the reason for the failure.

Please refer the below screenshot for reference:

image

Request for Assistance:

I would appreciate help in diagnosing this issue. Please assist in identifying potential causes for the job’s failure to execute and suggest any resolutions.

Thank you for your support!

Version Details :
Jmix version: 1.5.0
Jmix Studio plugin version: 2.0.0-231

Hi,

For some reason Quartz scheduler itself may have an issue with ? at non day-of-week position.
Please try the equivalent expression for ‘every 30 minutes’ - 0 */30 * * * ?

  • Seconds, minutes, hours and month are the same.
  • Day-of-month is * (every) instead of ? (any)
  • Day-of-week is ? instead of *

Regards,
Ivan

I tried the shared cron expression but still there is unusual behaviour. Please find the below execution sequence for your reference.

Execution sequence:
2024-10-28 11:17
2024-10-28 12:30
2024-10-28 13:00
2024-10-28 13:30
2024-10-28 14:00
2024-10-28 14:30
2024-10-28 16:30
2024-10-28 17:30
2024-10-28 18:00

Is there anything else that can be done to analyze the issue?

Hi,

Is this sequence from actual execution history within application or from some kind of tool for “get next N start time”?

If it is an application execution history - did you have some server issues around the time of “missing” executions?

Regards,
Ivan

It is the execution history of the application. I have added a log on the first line to check the trigger of the job.

Also, I have observed that no job gets executed at these intervals and at the same time the project is in running state and I am able to login and check the the last fire time.

Note: Tested this on local environment as well.

What is the estimated duration of one execution? Is there any chance of overlapping?

Whatever happens it shouldn’t be an issue with the cron expression itself.
It relates to server circumstances.