Greetings,

This is a closed community site and is under development.

  • Drupal Version 10.1.7
  • Web Server Apache/2.4.52 (Ubuntu)
  • PHP Version 8.2.13
  • Database Version 8.0.35-0ubuntu0.22.04.1

Three observations.

  1. The cron is not running every three hours as set up.
  2. The cron run is triggered by captcha_cron after page not found event.
  3. There is an attempt to re-run cron [Attempting to re-run cron while it is already running.], by whom?

Should this be reported in some other place?

Thanks a ton.

Joe

Transcript of cron log

    cron     12/14/2023 - 11:17     Starting execution of dblog_cron(), execution of…     Anonymous (not verified)     
    cron     12/14/2023 - 11:17     Starting execution of comment_cron(), execution of…     Anonymous (not verified)     
    cron     12/14/2023 - 11:17     Attempting to re-run cron while it is already running.     Anonymous (not verified)     
    cron     12/14/2023 - 11:17     Attempting to re-run cron while it is already running.     Anonymous (not verified)     
    cron     12/14/2023 - 11:17     Starting execution of captcha_cron().     Anonymous (not verified)     
    page not found     12/14/2023 - 11:17     /.well-known/acme-challenge/…     Anonymous (not verified)     
    page not found     12/14/2023 - 11:17     /.well-known/acme-challenge/…     Anonymous (not verified)     
    page not found     12/14/2023 - 11:17     /.well-known/acme-challenge/…     Anonymous (not verified)     
    page not found     12/14/2023 - 00:18     /wp-login.php     Anonymous (not verified)     
    contact     12/13/2023 - 23:35     Heididag (not verified) (alex01news@gmail.com) sent an…     Anonymous (not verified)     
    cron     12/13/2023 - 23:27     Cron run completed.     Anonymous (not verified)     
    cron     12/13/2023 - 23:27     Execution of update_cron() took 958.49ms.     Anonymous (not verified)     

Comments

lariska’s picture

Sorry, but I cannot understand what is going wrong with you installation. Web-cron doesn't run as scheduled?

joamos’s picture

Looks like, no.

gisle’s picture

Drupal's built-in cron (aka. "poorman's cron") cannot be scheduled to run every three hours. It can be set up to be triggered by the first page load after the set time – i.e. three hours in your case. To me, it looks like it works like designed. The re-runs are triggered of there is another activity before the first cron run has completed.

To schedule cron runs without making them dependent on activity on your site, you need to configure an external trigger for Drupal cron.

- gisle

joamos’s picture

Thank you gisle, love.