Head's Up! Site migration is underway. Phase 2: migrate recent content
β07-04-2022 02:14 PM
Hi there,
I am pretty new to Neo4j. I'm trying to update a graph with apoc.periodic.repeat, but it doesn't seem to work. Here is a mock example:
- I created nodes for few countries with MERGE (co:Country {id: #, capital: "capital city"}
- Then I created cities with MATCH (co:Country) MERGE (c:City {name: co.capital })
I created more countries than cities to test apoc.periodic.repeat. Then I ran the following:
Solved! Go to Solution.
β07-06-2022 04:27 AM - edited β07-06-2022 04:36 AM
Hmm it should run once every 1 second and create the new nodes.
Is that what you're actually trying to do?
Did you try to run :queries or call dbms.listQueries() to see if it's running?
Just tried it, works for me.
β07-06-2022 08:33 AM
I ran :queries and found that multiple jobs were running in the background, and I guess they prevented this job from running. I killed them all and now it works! Thanks a lot for your response π
β07-06-2022 04:27 AM - edited β07-06-2022 04:36 AM
β07-06-2022 08:33 AM
I ran :queries and found that multiple jobs were running in the background, and I guess they prevented this job from running. I killed them all and now it works! Thanks a lot for your response π
All the sessions of the conference are now available online