1
0
Fork 0
arangodb/Documentation/Examples/RestTasksListAll.generated

44 lines
1.2 KiB
Plaintext

shell> curl --dump - http://localhost:8529/_api/tasks
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
[
{
"id" : "17298315",
"name" : "user-defined task",
"type" : "periodic",
"period" : 1,
"created" : 1439371910.727589,
"command" : "(function () {\n require('org/arangodb/foxx/queues/manager').manage();\n })(params)",
"database" : "_system"
},
{
"id" : "statistics-gc",
"name" : "statistics-gc",
"type" : "periodic",
"period" : 450,
"created" : 1439371910.191741,
"command" : "require('org/arangodb/statistics').garbageCollector();",
"database" : "_system"
},
{
"id" : "statistics-average-collector",
"name" : "statistics-average-collector",
"type" : "periodic",
"period" : 900,
"created" : 1439371910.188358,
"command" : "require('org/arangodb/statistics').historianAverage();",
"database" : "_system"
},
{
"id" : "statistics-collector",
"name" : "statistics-collector",
"type" : "periodic",
"period" : 10,
"created" : 1439371910.187561,
"command" : "require('org/arangodb/statistics').historian();",
"database" : "_system"
}
]