Cron.php does nothing

I set up crontab job and it runs smootly. But I get this error:

Last background job execution ran 3 days ago. Something seems wrong. Check the background job settings.

I think something is wrong with the php file, cause even if I do

$ sudo --user=www-data php -f /var/www/nextcloud/cron.php

the error is still there. The command however has no output.

Hi @danialbehzadi

Are you using APCu as local memory chache…? If yes please read this thread… Cron not running in NC 21.0.3

1 Like

Thanks. It did solve by adding this line to apcu.ini:

1 Like