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

Log cleanup task cron time doesn't make sense

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      On clean Moodle install, go into Server -> Scheduled Tasks and check that both log cleanup tasks have a specific minute value, so will only run once per day.

      Show
      On clean Moodle install, go into Server -> Scheduled Tasks and check that both log cleanup tasks have a specific minute value, so will only run once per day.
    • Workaround:
      Hide

      Update values in user interface (Server -> Scheduled Tasks)

      Show
      Update values in user interface (Server -> Scheduled Tasks)
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:

      Description

      The cron setting in the Scheduler for "Log table cleanup" is * 4 * * *. This would imply that it runs every minute during the hour of 04:00 to 04:59. Surely this was meant to be 0 4 * * * ??

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15