cancel
Showing results for 
Search instead for 
Did you mean: 

best way to remove deleted files periodically and automatically

maumig_
Confirmed Champ
Confirmed Champ

Hi all, Is there a way to to remove deleted files periodically and automatically (something like cron)?

thanks in advance

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

You could write a scheduled listener that basically calls

new RepositoryStatus().gcBinaries(true);

(now called SQLRepositoryStatus in 5.9.5).

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

What delete files are you talking about? Those in the trash? The orphaned binaries of removed files in the binary manager store?

maumig_
Confirmed Champ
Confirmed Champ

I'm talking about orphaned binaries.

Florent_Guillau
World-Class Innovator
World-Class Innovator

You could write a scheduled listener that basically calls

new RepositoryStatus().gcBinaries(true);

(now called SQLRepositoryStatus in 5.9.5).

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.