Merge pull request #3027 from nextcloud/fix-code-block

render code block correctly
This commit is contained in:
Björn Schießle 2020-08-14 10:26:27 +02:00 committed by GitHub
commit 9b1ce5c445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,19 +72,19 @@ for example 7 days but make sure that the user can't extend it to more than 14 d
In order to do so the user can set a enforced expiration date in the settings as described above
and set the default value to something below the maximal possible expiration date with the following
OCC commands:
OCC commands::
./occ config:app:set --value <DAYS> core internal_defaultExpDays
./occ config:app:set --value <DAYS> core link_defaultExpDays
occ config:app:set --value <DAYS> core internal_defaultExpDays
occ config:app:set --value <DAYS> core link_defaultExpDays
Get a notification before a share expires
-----------------------------------------
Users can get a notification before a share expires. In order to do so a cronjob need to be
configured which calls the following OCC command once a day.
configured which calls the following OCC command once a day::
./occ sharing:expiration-notification
occ sharing:expiration-notification
A notification will be send for all shares which expire within the next 24 hours.