I am running NC21 / Apache / PHP7.4 on on ESX server, so as a virtual machine.
I am trying to add Cron Job using Cron.
I have tried:
crontab -u www-data -e
added: */5 * * * * php -f /var/www/nextcloud/cron.php
crontab -u www-data -l
*/5 * * * * php -f /var/www/nextcloud/cron.php
I have set the Cron Job to Cron in the GUI/ basic.
Source: Background jobs — Nextcloud latest Administration Manual latest documentation
But it doesn’t run, GUI still tells me “some jobs haven’t run for…”
How can i make this work? And where can i find the logfile for this? (not only looking for a solution, but also trying to learn).
EDIT: NEVER MIND AFTER A WHILE IT STARTED TO WORK