cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to setup autoexec of Cypher query on each Neo4j service restart?

Greetings.

Setup: Neo4j Enterprise 4.2.9 on Oracle Linux server, full admin access

I have some crucially important graphs made by gds.graph.create.cypher procedure that has to be present in database all the time. But as they getting dropped after each service restart, I have to re-create these graphs on Neo4j boot.

What is the best way to do that automatically? Preferably, using only Neo4j configurations without external scripts.

2 REPLIES 2

Bennu
Graph Fellow

Hi @NickNal !

I have found a way to do so. How confident do you feel about extending the APOC library?

Bennu

Hi, @Bennu . Sorry for the late response.
I can give it a try on test server.