From dc8c6185c3c30f36586940718024f643b98e92c9 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 14 Aug 2020 10:24:02 +0200 Subject: [PATCH] render code block correctly Signed-off-by: Bjoern Schiessle --- .../configuration_files/file_sharing_configuration.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin_manual/configuration_files/file_sharing_configuration.rst b/admin_manual/configuration_files/file_sharing_configuration.rst index eeba05643..3834f2a69 100644 --- a/admin_manual/configuration_files/file_sharing_configuration.rst +++ b/admin_manual/configuration_files/file_sharing_configuration.rst @@ -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 core internal_defaultExpDays - ./occ config:app:set --value core link_defaultExpDays + occ config:app:set --value core internal_defaultExpDays + occ config:app:set --value 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.