mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #7385 from nextcloud/backport/7174/stable21
[stable21] Documentation how to disable expire versions background job
This commit is contained in:
commit
82b161b0c3
@ -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)
|
||||
Loading…
Reference in New Issue
Block a user