FFCRON="/usr/share/gforge/cronjobs"
FFUSER=gforge

# Change paths to the GForge directory.
# Don't reference $GFORGE because this won't work!
# You may need to change the pathname to php CLI (command line interface)
#INCLUDE_PATH=/etc/gforge:/usr/share/gforge/:/usr/share/gforge/www:/usr/share/gforge/common
PHP="/usr/bin/php -q -d include_path=.:/etc/gforge:/usr/share/gforge:/usr/share/gforge/www/include"

# Don't mail command output to anyone.
MAILTO=""

#
# Regular cron jobs for the ftp-proftpd package
#

INCLUDE_PATH=/etc/gforge:/usr/share/gforge/:/usr/share/gforge/www:/usr/share/gforge/common

# FTP update
0 * * * * root [ -x /usr/share/gforge/bin/install-ftp.sh ] && /usr/share/gforge/bin/install-ftp.sh update > /dev/null 2>&1

# create and mount project directory in user's home directory
0 * * * * root [ -x /usr/share/gforge/bin/ftp_create_group_access.php ] && /usr/bin/php5 -d include_path=$INCLUDE_PATH /usr/share/gforge/bin/ftp_create_group_access.php > /dev/null 2>&1
