Scheduled deletion of files

feature-request

#1

Hello everyone.

Sorry when this entry is not in the right category.

Does anybody know if it is possible to delete files after e.g. 30 days automatically?

Best regards
Dirk


#2

As far as I know, there is no such an option. But if you want, you can easily do it with an app by using scheduled job support of app framework.


#3

Thank you very much for your answer.

I’m not really familiar with apps and framework.

May you have some keywords what kind of frameworks should be used.

Thanks a lot in advance.


#4

ownCloud has own application framework. You need a basic app with a background job which will check creation date of files and delete if necessary. You can check documentation from here:
https://doc.owncloud.org/server/latest/developer_manual/app/fundamentals/backgroundjobs.html