1
Answered

cleanup setting

How can I check config file for cleanup settings related to options in dialog box attached?

Is there any admin-user setting to control Cleanup options (from checkboxes)?

Should it clean up \Users\GBLonSVCClarity\AppData\Local\temp folder as well? - it isn't.

 

3 replies

The folder you mention would be your user's %TEMP% folder.

It should attempt a cleanup of these folders once-per-day.

The log should show the attempt to cleanup.

W

Yes I see log about cleanup (below). However, Clarity is cleaning some of the files called 'old' Which one are old? How can we check/control over those selection? For example, there are over 14k files in folder. Clarity deleted only 3417. I was able to delete over 10k when clearing files older than 2 days and 'not in use'.

2025/05/05 06:38:24: Polling for Tasks on uslas0-sql291...
2025/05/05 06:39:01: Cleaning up Revit Temp Folder: C:\ClarityTemp
2025/05/05 06:39:01: Done with revit temp cleanup...
2025/05/05 06:39:01: Cleaning up Revit Artifacts Folder: C:\ClarityTemp
2025/05/05 06:39:02: Done with artifact cleanup...
2025/05/05 06:39:02: Cleaning up Windows Temp Folder: C:\Users\GBLonSVCClarity\AppData\Local\Temp\
2025/05/05 06:39:24: Polling for Tasks on uslas0-sql291...
2025/05/05 06:40:19: Out of 14054 files in %TEMP%, 3505 were 'old', deleted 3417 could not delete 88
2025/05/05 06:40:19: Done with Windows Temp cleanup...
2025/05/05 06:40:19: Cleaning up Revit BIM360 Collaboration Cache Folder: C:\Users\GBLonSVCClarity\AppData\Local\Autodesk\Revit\Autodesk Revit 2022\CollaborationCache
2025/05/05 06:40:22: Cleaning up Revit BIM360 Collaboration Cache Folder: C:\Users\GBLonSVCClarity\AppData\Local\Autodesk\Revit\Autodesk Revit 2023\CollaborationCache
2025/05/05 06:40:24: Polling for Tasks on uslas0-sql291...
2025/05/05 06:40:32: Cleaning up Revit BIM360 Collaboration Cache Folder: C:\Users\GBLonSVCClarity\AppData\Local\Autodesk\Revit\Autodesk Revit 2024\CollaborationCache
2025/05/05 06:40:49: Done with BIM360 Collaboration Cache cleanup...
2025/05/05 06:40:49: Cleaning up IPC Folder: C:\ProgramData\IMAGINiT Technologies\Clarity Task Server 2025\IPC
2025/05/05 06:41:25: Polling for Tasks on uslas0-sql291...

In the ClarityTaskService.config file (under the C:\ProgramData\... folder hierarchy), there are a couple of internal settings about how many "DaysToKeep" of files of different categories... any file that is older than that will be cleaned out.

- RevitTempFiles 

- ArtifactFiles

- BIM360Cache (default: 7 days)

For certain other areas that we clean, it is a fixed value:

- TEMP: 2 days

- CEF Cache: immediate

- IPC Files: immediate

W

Hi Matt,

Firstly, many thanks for response! I've started looking deeper into the topic.

I've checked ClarityTaskService.config file and it's clearing only following follders:

"C:\ClarityArtifacts" and  "C:\ClarityTemp" .

Within this config there is no path directing to %TEMP%  (which is: C:\Users\GBLonSVCClarity\AppData\Local\Temp) folder.

Amount of files in %TEMP% is reaching +20k if we're not running own powershell cleanup/

I don't want to modify file on my own, could we add %temp% folder for Clarity auto cleanup?