apoc.periodic.cancel
Procedure APOC Core
apoc.periodic.cancel(name) - cancel job with the given name
Signature
apoc.periodic.cancel(name :: STRING?) :: (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
If we want to cancel the job submitted by the example in apoc.periodic.repeat, we can run the following query:
CALL apoc.periodic.cancel("create-people");
name | delay | rate | done | cancelled |
---|---|---|---|---|
"create-people" |
0 |
0 |
TRUE |
TRUE |