mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
render code block correctly
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user