Merge pull request #7386 from nextcloud/backport/7174/stable22

[stable22] Documentation how to disable expire versions background job
This commit is contained in:
Daniel 2021-10-26 10:19:39 +02:00 committed by GitHub
commit 6a43a80cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)