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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.2
    • Forum
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-46880-master
    • 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

    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

              poltawski Dan Poltawski
              dougiamas Martin Dougiamas
              Frédéric Massart Frédéric Massart
              Marina Glancy Marina Glancy
              Adrian Greeve Adrian Greeve
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Sep/14