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

cron.php maintenancerun detection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.3
    • Fix Version/s: 2.2.1
    • Component/s: Administration
    • Labels:
    • Environment:
      LINUX WITH PHP 5.3.8
    • Database:
      Any
    • Testing Instructions:
      Hide

      1/ install moodle 2.2
      2/ run cron
      3/ verify cron warning disappeared from the notification page

      Show
      1/ install moodle 2.2 2/ run cron 3/ verify cron warning disappeared from the notification page
    • Workaround:
      Hide

      I have already identified the problem... It is in line 195 of the file moodle/admin/renderer.php... The parameter of "cron_overdue_warning" is incorrect... It would to be "$cronoverdue" instead the current "$errorsdisplayed". This change solves the problem.

      Show
      I have already identified the problem... It is in line 195 of the file moodle/admin/renderer.php... The parameter of "cron_overdue_warning" is incorrect... It would to be "$cronoverdue" instead the current "$errorsdisplayed". This change solves the problem.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w51_MDL-30735_m23_cron

      Description

      The Admin Notification page does not seem to know about the last run of cron.php. The warning "The cron.php maintenance script has not been run for at least 24 hours" always appears. The script is running successfully...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              rodrigocardilli Rodrigo Belluomini Cardilli
              Integrator:
              Aparup Banerjee
              Tester:
              Aparup Banerjee
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/12