Nextcloud OCC CLI Commands

# files
occ files:scan --all
occ files:scan --path=myuser/files
occ files:cleanup
 
# upgrading
occ app:update --all
occ upgrade
 
# maintenance
occ maintenance:mode --on
occ maintenance:mode --off
occ maintenance:repair
 
# misc
occ db:add-missing-indices
occ db:add-missing-primary-keys
occ db:add-missing-columns
occ db:convert-filecache-bigint
 
# set calender refresh rate
occ config:app:set dav calendarSubscriptionRefreshRate --value "P1D"