apoc.periodic.submit
Procedure
apoc.periodic.submit(name String, statement String, params Map<String, Any>)
- creates a background job which runs the given Cypher statement once.
Signature
apoc.periodic.submit(name :: STRING?, statement :: STRING?, params = {} :: MAP?) :: (name :: STRING?, delay :: INTEGER?, rate :: INTEGER?, done :: BOOLEAN?, cancelled :: BOOLEAN?)
Output parameters
Name | Type |
---|---|
name |
STRING? |
delay |
INTEGER? |
rate |
INTEGER? |
done |
BOOLEAN? |
cancelled |
BOOLEAN? |
Usage Examples
CALL apoc.periodic.submit(
"create-person",
"CREATE (:Person {name: 'Michael Hunger'})"
);
name | delay | rate | done | cancelled |
---|---|---|---|---|
"create-person" |
0 |
0 |
FALSE |
FALSE |
Was this page helpful?