I have ownclud well running but when I try to put in cron the occ system:cron this is not executed.
I have followed the tutorial and the syntax is looks correct:
sudo crontab -u www-data -e */15 * * * * /usr/bin/php -f /var/www/owncloud/occ system:cron
the path to php and to occ is correct.
If I tun the command manually:
sudo -u www-data ./occ system:cron
this works corectly.
But in cron this does not work.