How to run cron.php of owncloud??

February 18, 2019 572 views
PHP Apache LAMP Stack Ubuntu 18.04

I add the cron job and run it, but i recived an email whit these:

/var/www/html/cloud/cron.php: 1: /var/www/html/cloud/cron.php: cannot open ?php: No such file
/var/www/html/cloud/cron.php: 2: /var/www/html/cloud/cron.php: /bin: Permission denied
/var/www/html/cloud/cron.php: 4: /var/www/html/cloud/cron.php: Syntax error: newline unexpected

Im sure the route of cron.php file

1 Answer

Hmm. There is obviously something wrong with your path or the code. I use Nextcloud and the cron.php works perfectly. You should consider using Nextcloud too because is is fully open source, has more features than owncloud, faster and is actively developed.

Have another answer? Share your knowledge.