This function retrieves a cPanel account's user task queue information.
Each cPanel account uses a separate user task queue in order to ensure that processes for one user do not impede another user on the server.
VersionControl::create
function).uapi --output=jsonpretty \ --user=username \ UserTasks \ retrieve
{- "apiversion": 3,
- "func": "retrieve",
- "module": "UserTasks",
- "result": {
- "data": [
- {
- "action": "create",
- "args": { },
- "id": "00000000\\/5a9ec8dd4c345d",
- "subsystem": "VersionControl"
}, - {
- "action": "create",
- "args": {
- "repository_root": "/home/user/public_html/example"
}, - "id": "00000000/h39dnn27suc13l",
- "subsystem": "VersionControl"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}