render code block correctly

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle
2020-08-14 10:24:02 +02:00
parent 14b9109bc0
commit dc8c6185c3

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.