Bonjour,
After install of nextcloud on fedora 38, I get this message:
The task was last run 2 days ago. Something seems to be wrong
Use the system cron service to call the ‘cron.php’ file every 5 minutes. The cron.php script must be run by the system user “apache”.
So I changed the owner of /usr/share/nextcloud/cron.php file to apache (it was root) and nothing has changed…
What to do?
Thank you.
F.P.
tflidd
2
The owner of the file is less important, it should be run as the apache user as well.
E.g. add to crontab for this user:
sudo -u apache crontab -e
and you can run the command first manually to see if there are errors when executing it:
sudo -u apache php -f /usr/share/nextcloud/cron.php
system
Closed
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.