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.