{
  "schema_version": 2,
  "id": "operate/rs/references/cli-utilities/crdb-cli/task/list",
  "title": "crdb-cli task list",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/crdb-cli/task/list/",
  "summary": "Lists active and recent Active-Active database tasks.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2023-12-14T15:27:49+01:00",
  "page_type": "content",
  "content_hash": "589aa12369e885627d0a35252365d0b8c895231485f85c867340b359ab538c7f",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Lists active and recent Active-Active database tasks.\n\n[code example]"
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "None"
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "A table listing current and recent Active-Active tasks.  Each entry includes the following:\n\n| Column | Description |\n|--------|-------------|\n| Task ID | String containing the unique ID associated with the task<br/>Example: `e1c49470-ae0b-4df8-885b-9c755dd614d0` |\n| CRDB-GUID | String containing the unique ID associated with the Active-Active database affected by the task<br/>Example: `1d7741cc-1110-4e2f-bc6c-935292783d24` |\n| Operation | String describing the task action<br/>Example: `create_crdb` |\n| Status | String indicating the task status<br/>Example: `finished` |\n| Worker name | String identifying the process handling the task<br/>Example: `crdb_worker:1:0` |\n| Started | TimeStamp value indicating when the task started ([UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time))<br/>Example: `2022-10-12T09:33:41Z` |\n| Ended | TimeStamp value indicating when the task ended (UTC)<br/>Example: ` 2022-10-12T09:33:55Z` |"
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "sh",
      "code": "crdb-cli task list",
      "section_id": "overview"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ crdb-cli task list\nTASK-ID    CRDB-GUID  OPERATION    STATUS    WORKER-NAME  STARTED    ENDED               \n<task-ID>  <crdb-ID>  <operation>  <result>  <worker-ID>  <started>  <ended>",
      "section_id": "example"
    }
  ]
}
