Job Executor is running/retrying multiple times(3) on exception while processing records or calling api

Hi , I have one job executor with default settings behaviour of camunda version 7, spring boot 2.3, java 11 .
Job scheduler is executing multiple times/infinitely earlier there was not try catch in code , but after that i have added try catch but still it seems same behaviour . i just want to run only once i have added below xml attribute but still not affecting in local environment .

<bpmn:extensionElements>
     <camunda:failedJobRetryTimeCycle>0/PT0S</camunda:failedJobRetryTimeCycle>
   </bpmn:extensionElements>

Here is detail of act_ru_job table config detail

Column Name : " Handler_cnfg" value : scheduler$followUpJobCreated
Retries_ :3
Suspension_State: 1

I have also tried below
camunda.bpm.job-execution.max-job-retries=0

How can i make sure or in which file/config needs to change settings in spring boot application to run job only once and should not retry ever on failing .Thanks for your suggestions

Hi @Niall can you please suggest something thanks

In my models I’m using
<camunda:failedJobRetryTimeCycle>R0/PT5M</camunda:failedJobRetryTimeCycle>
to avoid retries on failure.
AFAIK the time interval given must be a valid expression.
See also Set Retry of Job to 0 - #8 by greg.junkietech.

Thanks its worked but i want to understand why PT5M , let suppose if we have job that runs only once in day in that case this one (PT5M)camunda:failedJobRetryTimeCycleR0/PT5M</camunda:failedJobRetryTimeCycle>
is also needs to change ?

AFAIK the duration doesn’t really matter, as long as it is > 0.
I expect that R0/P1D or R0/PT10S or … will also work.