auto purge study

Good afternoon
is it possible to ?

Automatic deletion of files after time or when free space is less than the specified volume

Check MaximumStorageSize in the configuration file: https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-1.2.0/Resources/Configuration.json

older studies will be deleted first.

older studies will be deleted first.

Thank you
I'll try