Skip to content

Commit

Permalink
Documentation how to disable expire versions background job
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Oct 7, 2021
1 parent 7cd00b9 commit ad1e7c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions admin_manual/configuration_files/file_versioning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ad1e7c7

Please sign in to comment.