Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
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