Skip to content

Commit 7b03512

Browse files
authored
Merge pull request #15547 from nextcloud/backport/15541/stable35
[stable35] docs(admin): note that av_rescan_days=0 does not disable rescanning
2 parents d8fee12 + 6cfe602 commit 7b03512

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

admin_manual/configuration_server/antivirus_configuration.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,8 @@ Disabling background scan task
277277
You can disable background scan with occ to only scan files during upload::
278278

279279
sudo -E -u www-data php occ config:app:set files_antivirus av_background_scan --value="off"
280+
281+
.. note:: Setting ``av_rescan_days`` to ``0`` does **not** disable the periodic rescan of
282+
already-scanned files. Any value below ``1`` is silently replaced with the default of 28 days,
283+
so the rescan continues on its normal schedule. Use ``av_background_scan`` as shown above to
284+
stop background scanning altogether.

0 commit comments

Comments
 (0)