Hi,
I would like to run every x second script that uses 'apoc.periodic.commit'. The natural way for me would be to put it inside 'apoc.periodic.repeat'.
But: If I do something like this:
CALL apoc.periodic.repeat(
"test",
"
CALL apoc.periodic.commit(
'
CREATE (a:TEST)
WITH a LIMIT 1
RETURN 0;
'
)
",
1
);
the Neo4j start executing it,.. never finish (It doesn't insert Node TEST) and if I stop the periodic and registrate new one (one without 'apoc.periodic.commit', that I know it works), the new one doesn't run either.. I need to restart the Neo4j to work again.
Any suggestion on where I am doing wrong?