Document the cron(8) job.

This commit is contained in:
ajacoutot 2012-10-26 12:09:13 +00:00
parent 6d9238010b
commit 181892b2ff
2 changed files with 12 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.26 2012/10/26 09:27:08 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.27 2012/10/26 12:09:13 ajacoutot Exp $
COMMENT= easy and universal access to shared and/or personnal files COMMENT= easy and universal access to shared and/or personnal files
V= 4.5.1 V= 4.5.1
DISTNAME= owncloud-${V} DISTNAME= owncloud-${V}
EXTRACT_SUFX= .tar.bz2 EXTRACT_SUFX= .tar.bz2
REVISION= 0
CATEGORIES= www CATEGORIES= www
@ -42,7 +43,7 @@ WRKDIST= ${WRKDIR}/owncloud
PREFIX= /var/www PREFIX= /var/www
INSTDIR= ${PREFIX}/owncloud INSTDIR= ${PREFIX}/owncloud
TINSTDIR= ${TRUEPREFIX}/owncloud TINSTDIR= ${TRUEPREFIX}/owncloud
SUBST_VARS= INSTDIR TINSTDIR SUBST_VARS= INSTDIR TINSTDIR MODPHP_BIN
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-curl \ RUN_DEPENDS= lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-gd \ lang/php/${MODPHP_VERSION},-gd \

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.11 2012/10/25 12:26:40 ajacoutot Exp $ $OpenBSD: README,v 1.12 2012/10/26 12:09:13 ajacoutot Exp $
+----------------------------------------------------------------------- +-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD | Running ${FULLPKGNAME} on OpenBSD
@ -41,6 +41,14 @@ MySQL or PostgreSQL, the file ${INSTADIR}/config/config.sample.php will
need to be copied to ${INSTADIR}/config/config.php and configured need to be copied to ${INSTADIR}/config/config.php and configured
accordingly. accordingly.
Cron job
--------
If "backgroundjobs" is configured to "Cron" (as opposed to "AJAX" or
"Webcron") in the Admin menu, a cron(8) job must be added to the root's
crontab(5):
*/5 * * * * ${MODPHP_BIN} ${INSTDIR}/cron.php
LDAP User Backend LDAP User Backend
----------------- -----------------
If the LDAP user backend is enabled, the "php-ldap" package will need to If the LDAP user backend is enabled, the "php-ldap" package will need to