Nextcloud cron - reflect 5 min background job in version 17

Hi there and to whom it may concern,

I already have seen this issue in Version 17.0.1-0 but thought - well someone else will report this :no_mouth:

There was a change in the frequency of the cron-job in version 17. It was 15 min and is now 5 min. See also: https://docs.nextcloud.com/server/17/admin_manual/configuration_server/background_jobs_configuration.html

This isn’t reflected in the docker app yet:

root@ucs:~# univention-app shell nextcloud sh -c 'cat /etc/cron.d/nextcloud'
*/15 * * * * www-data    php -f /var/www/html/cron.php

so you will have to change that by yourself (for now):

root@ucs:~#  univention-app shell nextcloud sh -c 'echo "*/5 * * * * www-data    php -f /var/www/html/cron.php" > /etc/cron.d/nextcloud'

Best regards,
Bernd

It may be worthwhile to also/instead report it in the GitHub repository of the app: https://github.com/nextcloud/univention-app

I have not looked through the code for this, but I am sure the maintainers would also welcome a pull request.

The github features are still to be learned/ mastered - so I have opened an issue.
The line is easy to find there.

2 Likes

Hello,

thanks for pointing out. For reference, here the issue on GitHub: https://github.com/nextcloud/univention-app/issues/110

Best regards,
Nico

Mastodon