Nextcloud version : 18.0.3
Operating system and version: Linux 3.10.0-1062.9.1.el7.x86_64
Apache or nginx version: Apache 2.4.43
PHP version: 7.3.16
The issue you are facing:
I have long had a cron job set up to run cron.php every 15 minutes. Some time yesterday it started failing with, “Could not open input file: /home/username/hostname/cron.php”. The file cron.php still exists in that location, and it appears to be intact. Has anyone else ever encountered this?
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Set up a cron job to call cron.php (in my case,
/usr/local/bin/php -f /home/username/hostname/cron.php
- Have it run just fine for years
- Suddenly one day out of the blue it starts failing with, “Could not open input file: /home/username/hostname/cron.php”.
The output of your Nextcloud log in Admin > Logging:
No relevant Nextcloud log entries seen.