apoc icon indicating copy to clipboard operation
apoc copied to clipboard

apoc periodic repeat should have an option to tolerate errors

Open neo-technology-build-agent opened this issue 2 years ago • 1 comments

Issue by eastlondoner Friday Aug 21, 2020 at 07:32 GMT Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1625


Feature description (Mandatory)

CALL apoc.periodic.repeat("RETURN 1/rand()", 60, {tolerateErrors: true})

Considered alternatives

Have another periodic task that checks if the desired task still exists and if it doesn't re-creates it

How this feature can improve the project?

Some periodic tasks may fail intermittently. It's often not desired that the task will just stop running if that happens.