We been running two owncloud systems for for several years now and we used until this point cron jobs configured like this:
/usr/local/bin/php -f /home/owncloud/public_html/cron.php
But that doesn’t seem to work anymore and we therefore followed the updated documentation and added:
/usr/bin/php -f /home/owncloud/public_html/occ system:cron
But no success and the cron job does run.
We use c-panel to mange our VPS servers with…
We tested the variant command
php -f /home/owncloud/public_html/occ system:cron to but to no avail.
We tried to use webcron too which isn’t working itseems unless you setup an external service…
Any idea on what could be wrong here? The old configuration worked prefectly for years but since it seems that owncloud has updated the ways of doing this it no longer works with that method. We are using owncloud version 10.3.2.2 community edition.
We do receive an error from the system which is:
This script can be run from the command line only
(When using “/usr/bin/php -f /home/owncloud/public_html/occ system:cron”)
Thank you in advance for the assistance.