BESDownloadscleaner

(imported topic written by Steve91)

Hi Chaps

I’m trying to run this on our BES server which has 17,000 folders in the download folder

I’m using the following syntax but it doesn’t seem to be working:

D:>BESDownloadsCleaner.exe -N 30 -w -W downloadcleanerdata.txt

Connect to database…

Finding action ids in the database… this could take a minute…Done!

Writing out actions file: downloadcleanerdata.txt

Found 138496 expired actions, finding and deleting folders… Done!

Deleted 0 folders.

I know there are folders older than 30 days but they’re not getting deleted.

Any suggestions?

Cheers

Steve

(imported comment written by SystemAdmin)

Hi Steve,

On the deployment health checks dashboard, do you also Fail the health checks for Hidden Actions? You may actually have 17,000 open actions, just you can’t see them all in the console.

Otherwise, check the folder ID’s against the downloadcleanerdata.txt file and see if they are in the text file. If they aren’t in the text file, then we need to figure out why, the tool queries the database to get the ID list so either the query is wrong or the actions are still open and shouldn’t have their download folder deleted yet.

Tyler

(imported comment written by SystemAdmin)

We have been looking for a way to do this. I originally posted a concern about our cache size here http://forum.bigfix.com/viewtopic.php?id=2046.

This tools looks like what we wanted. Where do you find it? I searched the KB, and looked at the folowing links:

http://support.bigfix.com/bes/install/downloadbes.html

http://support.bigfix.com/bes/install/downloadutility.html

http://support.bigfix.com/resources.html

Bigfix, can we get a centralized page where we can find all the utilities and downloads?

(imported comment written by SystemAdmin)

The DownloadCleaner tool referenced here is for removing a much of folders but the amount of data in each folder is very small, a few KB, so you aren’t going to reclaim much disk space with this tool. If you aren’t failing the health check, you shouldn’t run this tool and so it isn’t referenced on the standard utility list which is here:

http://support.bigfix.com/bes/install/downloadutility.html