As recommended by Nextcloud Official Documentation, I started to use a system that calls the cron.php
every 15 minutes. The call is wrapped in a program that reports errors to me via e-mail and enforces a timeout of 2 minutes on the execution of the cron.php
.
Sometimes that the timeout is reached, the wrapper sends SIGTERM and the cron.php
exits peacefully - without need for SIGKILL.
It doesn't print anything - not also to the Apache error.log
- while doing so. Whenever I check the admin interface, it reports the Cron has been executed recently. The problem occurs roughly once per week.
BTW, I've already had this before switching to Nextcloud.
Is the timeout of two minutes just too low? Or is it a bug? What should I do?