maj creation_nuage
[lhc/ansible.git] / templates / nextcloud_cron.j2
diff --git a/templates/nextcloud_cron.j2 b/templates/nextcloud_cron.j2
new file mode 100644 (file)
index 0000000..7f60e05
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+BASEDIR=$(dirname $(readlink -f $0))
+
+export NEXTCLOUD_CONFIG_DIR=$BASEDIR/config
+
+exec php -f $BASEDIR/nextcloud/cron.php $*
\ No newline at end of file