diff --git a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh index 626d33299..73813ed6c 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh @@ -8,3 +8,8 @@ do bash "$file" fi done + +# Use php7 +if [ -f /data/config/crontabs/root ]; then + sed -i "s|php7|php|g" /data/config/crontabs/root +fi