Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20110

Cron never runs through the CLI if 'allowedip' has been set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Administration
    • None
    • PHP 5.2.8
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      'allowedip' is configured and works properly when accessing the site through a web browser.

      'cronclionly' is enabled.

      When the cron.php script is executed (from crontab using the php binary) nothing is processed and the following message is instead printed: "This site is not available currently."

      The function remoteip_in_list() in moodlelib.php doesn't seem like it will ever return true if cron.php has been run through the CLI.

            poltawski Dan Poltawski
            pholden Paul Holden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.