Merge pull request #7174 from nextcloud/enh/noid/background-job-expire-versions

Documentation how to disable expire versions background job
This commit is contained in:
Vincent Petry
2021-10-26 10:02:05 +02:00
committed by GitHub

View File

@@ -41,3 +41,15 @@ Additional options are:
* ``disabled``
Disable the Versions app; no old file versions will be deleted.
Background job
--------------
To delete expired versions a background jobs runs every 30 minutes.
It's possible to deactivate the background job and setup a (system) cron to expire the versions via occ.
Deactivate background job: ``occ config:app:set --value=no files_versions background_job_expire_versions``
Activate background job: ``occ config:app:delete files_versions background_job_expire_versions``
Expire versions: ``occ versions:expire`` or ``occ versions:expire --quiet`` (without the progress bar)