Usefull occ commands periodically via cron?


#1

Hello,

there seem to be some usefull occ commands:
occ check
occ files:cleanup
occ --all files:scan
occ sharing:cleanup-remote-storages
occ trashbin:cleanup

Are there any side effects if I run them via a cronjob? If they are as usefull as I think: why isn't it a standard feature?

Regards

Daniel


#2

It shouldn't be required to run these commands. When you run the normal OC cronjobs, it already cleans everything up. They are use when you e.g. change the settings of trashbin and you want to trigger a clean up.
You can run them manually from time to time, if you find some issues with that, then you have a problem with your setup and something is not working properly.