From 7f902d07d9dd25fd27ccbfc9c468e0caa0fabf09 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Tue, 21 Oct 2014 10:14:27 -0700 Subject: [PATCH 1/2] Document the Files Locking app --- .../configuration_files_locking.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 admin_manual/configuration/configuration_files_locking.rst diff --git a/admin_manual/configuration/configuration_files_locking.rst b/admin_manual/configuration/configuration_files_locking.rst new file mode 100644 index 000000000..d035c5ea4 --- /dev/null +++ b/admin_manual/configuration/configuration_files_locking.rst @@ -0,0 +1,18 @@ +Using the Files Locking App +--------------------------- + +The Files Locking application enables ownCloud to lock files while reading or +writing to and from backend storage. The purpose of the app is to avoid file +corruption during normal operation. Operating at a very low level in ownCloud, +this application requests and respects file system locks. For example, when +ownCloud is writing an uploaded file to the server, ownCloud requests a write +lock. If the underlying storage supports locking, ownCloud will request and +maintain an exclusive write lock for the duration of this write operation. When +completed, ownCloud will then release the lock through the filesystem. If the +file system does not support locking, there is no need to enable this +application as any lock requested by ownCloud will not be honored in the +underlying filesystem. + +The Files Locking app has no configuration options; all you need to do is +enable or disable it on your Apps page. + From 43594c3f107c12931ad87d4095dad81b83b18e40 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Tue, 21 Oct 2014 13:42:34 -0700 Subject: [PATCH 2/2] Small tweak to command example, to suppress command output --- admin_manual/configuration/background_jobs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration/background_jobs.rst b/admin_manual/configuration/background_jobs.rst index acef31f0b..77cb2faca 100644 --- a/admin_manual/configuration/background_jobs.rst +++ b/admin_manual/configuration/background_jobs.rst @@ -43,7 +43,7 @@ Using the operating system cron feature is the preferred method for executing re To run a cron job on a \*nix system, every 15 minutes, under the default web server user (often, ``www-data`` or ``wwwrun``), you must set up the following cron job to call the **cron.php** script:: # crontab -u www-data -e - */15 * * * * php -f /var/www/owncloud/cron.php + */15 * * * * php -f /var/www/owncloud/cron.php /dev/null 2>&1 You can verify if the cron job has been added and scheduled by executing::