#! /bin/bash BASEDIR=$(dirname $(readlink -f $0)) export NEXTCLOUD_CONFIG_DIR=$BASEDIR/config exec php -f $BASEDIR/nextcloud/cron.php $*