Deleting completed tasks

J Hawk 1 Reputation point

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.
309 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,046 Reputation points

    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