cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Disable CronJob Retry

Former Member
0 Kudos
868

In our application, we are having a cronjob for update index running every 30 minutes. We want if the CronJob cannot be run at the schedule time ( say 2:30 PM) due to to some reason (other jobs are already running), the CronJob should not run at a different time. To solve this, we had set the "retry" flag of the CronJob as "false", but still the problem persists. Please let me know if you need additional information.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Amaresh,

You can also try using maxAcceptableDelay. Please read more here: https://help.hybris.com/6.6.0/hcd/8b9ce4868669101499b2f0f25ef9395f.html

You can check its value (called Maximum acceptable delay) by double clicking on your CronJob Trigger in Time Schedule tab of your CronJob in backoffice.

Best Regards,