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