Merge pull request #624 from owncloud/cron

Corrected command example
This commit is contained in:
Carla Schroder
2014-10-21 13:44:30 -07:00
2 changed files with 19 additions and 1 deletions

View File

@@ -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::

View File

@@ -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.