Deleting completed tasks

J Hawk 1 Reputation point
2021-08-10T18:29:37.827+00:00

Is it okay to delete completed tasks that are taking up space in /opt/msawb/var/lib/catalog/TaskManagerCatalog/CompletedTasks?

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
306 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 11,876 Reputation points
    2021-08-12T15:21:11.51+00:00

    Hello @J Hawk - Thanks for reaching out.

    If you are concerned about tasks taking up disk space, then you can specify the retentionTime on the TaskContstraints. Task data is deleted by the Batch system sometime after the retention time expires.

    However, the task itself is not deleted from the system (just the files on the node that executed the task). If you need to delete your tasks (or jobs), you will need to create an external process that does this.

    If the above response helps, Please feel free to "Accept as Answer" so it can beneficial to the community.

    0 comments No comments