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