Cron.php works sometimes, sometimes not…

Hello.

I have a cron.php problem

Nextcloud version 20.0.4
Operating system and version: Linux 4.9.0-0.bpo.12-amd64 x86_64
PHP version 7.4.13

The issue you are facing:

Is this the first time you’ve seen this error? No

Steps to replicate it:

  1. select a webcron option and create a cron from another server with this command: /usr/bin/wget -O - -q -t 1 https://cloud.mydomain.com/cron.php
  2. activate the mail report when cron has executed and see: {“status”:“success”} in mail content
  3. go to https://cloud.mydomain.com/index.php/settings/admin and refresh the page: nextcloud say that cron have not executed since several hours…

Where is the problem?

I use webcron because it’s a shared hosting. The webcron is made from my dedicated server, or also from my host (infomaniak).

Thanks for your help, and a very nice good year to all!

Ok, at this time, the cron from my decidated server works perfectly. I confirm it in one day.

The cron bug seems to occur only from Infomaniak services. I have contact them to solve the problem.

Hello, I have the same problem and my host is Infomaniak too.
Did they solve the problem ? Thank you.

Hello! In fact, I have activated my cron with my other dedicated server (5 minutes frequency) instead than bugy one’s from Infomaniak with a 15 minutes frequency.

You can report it to their SAV and point this thread, perhaps they can do somethings if we are several to encounter this problem.