diff --git a/docs/advanced-guides/task.md b/docs/advanced-guides/task.md new file mode 100644 index 0000000..7b7801e --- /dev/null +++ b/docs/advanced-guides/task.md @@ -0,0 +1,61 @@ +--- +id: task-manager +title: Task Manager +slug: /advanced-guides/task-manager/ +--- + +This document will help you experience how to use the console to find and clear the P2P task cache. + +## Search task + +### Search by URL + +**URL**: Query the task cache based on the URL. + +**Tag**: When the task URL is the same but the tags are different, +they will be distinguished based on the tags, and the queried tasks will also be different. + +**Application**: Caller application which is used for statistics and access control. + +**Filter Query Params**: Filter the query parameters of the downloaded URL. +If the download URL is the same, it will be scheduled as the same task. + +![search-task-by-url](../resource/advanced-guides/task/search-task-by-url.png) + +### Search by task id + +**Task ID**: Query the task cache based on the task id. + +![search-task-by-task-id](../resource/advanced-guides/task/search-task-by-task-id.png) + +## Delete task + +Click `DELETE` and delete task. + +![delete-task](../resource/advanced-guides/task/delete-task.png) + +The deleted task will not return results immediately and you need to wait. + +![pending-task](../resource/advanced-guides/task/pending-task.png) + +## Executions + +Displays all deleted task. + +![executions](../resource/advanced-guides/task/executions.png) + +### Deletion Successful + +If the status is SUCCESS and the Failure list does not exist, it means that the deletion task is successful. + +![success-task](../resource/advanced-guides/task/success-task.png) + +### Deletion Failed + +The Failure list will show the tasks that failed to execute. + +![failure-task](../resource/advanced-guides/task/failure-task.png) + +Click the `Description` icon to view the failure log. + +![error-log](../resource/advanced-guides/task/error-log.png) diff --git a/docs/resource/advanced-guides/task/delete-task.png b/docs/resource/advanced-guides/task/delete-task.png new file mode 100644 index 0000000..1785474 Binary files /dev/null and b/docs/resource/advanced-guides/task/delete-task.png differ diff --git a/docs/resource/advanced-guides/task/error-log.png b/docs/resource/advanced-guides/task/error-log.png new file mode 100644 index 0000000..8d2ec9e Binary files /dev/null and b/docs/resource/advanced-guides/task/error-log.png differ diff --git a/docs/resource/advanced-guides/task/executions.png b/docs/resource/advanced-guides/task/executions.png new file mode 100644 index 0000000..156f323 Binary files /dev/null and b/docs/resource/advanced-guides/task/executions.png differ diff --git a/docs/resource/advanced-guides/task/failure-task.png b/docs/resource/advanced-guides/task/failure-task.png new file mode 100644 index 0000000..5ba43e4 Binary files /dev/null and b/docs/resource/advanced-guides/task/failure-task.png differ diff --git a/docs/resource/advanced-guides/task/pending-task.png b/docs/resource/advanced-guides/task/pending-task.png new file mode 100644 index 0000000..dfc3b8a Binary files /dev/null and b/docs/resource/advanced-guides/task/pending-task.png differ diff --git a/docs/resource/advanced-guides/task/search-task-by-task-id.png b/docs/resource/advanced-guides/task/search-task-by-task-id.png new file mode 100644 index 0000000..bb197ac Binary files /dev/null and b/docs/resource/advanced-guides/task/search-task-by-task-id.png differ diff --git a/docs/resource/advanced-guides/task/search-task-by-url.png b/docs/resource/advanced-guides/task/search-task-by-url.png new file mode 100644 index 0000000..b1bdc8b Binary files /dev/null and b/docs/resource/advanced-guides/task/search-task-by-url.png differ diff --git a/docs/resource/advanced-guides/task/success-task.png b/docs/resource/advanced-guides/task/success-task.png new file mode 100644 index 0000000..e15fb78 Binary files /dev/null and b/docs/resource/advanced-guides/task/success-task.png differ diff --git a/sidebars.js b/sidebars.js index 307cdee..b5576b3 100644 --- a/sidebars.js +++ b/sidebars.js @@ -204,6 +204,7 @@ module.exports = { ], }, 'advanced-guides/preheat', + 'advanced-guides/task-manager', 'advanced-guides/personal-access-tokens', ], }, diff --git a/sidebars/docs.js b/sidebars/docs.js index 43663cb..5fff74e 100644 --- a/sidebars/docs.js +++ b/sidebars/docs.js @@ -194,6 +194,7 @@ module.exports = { ], }, 'advanced-guides/preheat', + 'advanced-guides/task-manager', 'advanced-guides/personal-access-tokens', ], },