My recurring and background JOBS are set to try 10 times in a 60 second interval. So far so good.
However, I want that if an error still occurs on the tenth attempt, I would perform a callback action, calling an endpoint or updating a status column of my entity to have this error callback.