I am having a problem setting-up cron to process background jobs.
sudo crontab -u www-data -e
*/5 * * * * php -f /usr/share/nginx/nextcloud/cron.php (save and close)
sudo crontab -u www-data -l
the line above should produce:
*/5 * * * * php -f /usr/share/nginx/nextcloud/cron.php
i also tried php-cli instead of php
it does not work. nothing is printed.
I tried to follow Nextcloud instructions, they should buy your instructions.
Next Cloud Instructions