Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44734 Move forum cron to a scheduled_task
  3. MDL-46880

Convert forum cron to a simple scheduled task

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7.2
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Upgrade
      2. Run cron
      3. In the output ensure that you see 'Starting digest processing.' only once in the output
      4. Create a forum post in a forum with subscribers
      5. Wait 30mins
      6. Run cron
      7. Ensure that the subscribers get the email
      8. Disable the forum scheduled task in the scheduled tasks interface
      9. Ensure that you never see 'Starting digest processing.' in cron
      Show
      Upgrade Run cron In the output ensure that you see 'Starting digest processing.' only once in the output Create a forum post in a forum with subscribers Wait 30mins Run cron Ensure that the subscribers get the email Disable the forum scheduled task in the scheduled tasks interface Ensure that you never see 'Starting digest processing.' in cron
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-46880-master

      Description

      Without changing cron and how it works, just move it over to being a scheduled task so it can run parallel to many others. Will really help moodle.org for example.

      Needs 2.8 and 2.7 versions, and my +1 to backport the 2.7 one for the LTS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              dougiamas Martin Dougiamas
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Marina Glancy
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Sep/14