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

Remove support for Legacy cron

XMLWordPrintable

    • MOODLE_403_STABLE
    • MDL-61165-master
    • Hide
      1. Make sure all unit test passes (CiBot)
      2. Review code and confirm the functions are deprecated properly.
      3. Search through the code and confirm that cron_execute_plugin_type() and cron_bc_hack_plugin_functions() are not used anywhere.
        (except in the function declaration in lib/deprecatedlib.php and the upgrade note in lib/upgrade.txt)
      4. Search through the code and confirm that class \core\task\legacy_plugin_cron_task is not used anywhere. (except in the upgrade note in lib/upgrade.txt)
      5. Search through code and confirm that there are no more TODOS or mentions of MDL-61165.

      Upgrade test

      Before patch
      1. Create a fresh Moodle installation from the latest weekly release.
      2. Run cron
      After patch
      1. Check out the latest master branch.
      2. Run the upgrade.
      3. Run cron again.
      4. Confirm that there are no errors related to missing scheduled tasks from mod_quiz and mod_workshop
      Show
      Make sure all unit test passes (CiBot) Review code and confirm the functions are deprecated properly. Search through the code and confirm that cron_execute_plugin_type() and cron_bc_hack_plugin_functions() are not used anywhere. (except in the function declaration in lib/deprecatedlib.php and the upgrade note in lib/upgrade.txt ) Search through the code and confirm that class \core\task\legacy_plugin_cron_task is not used anywhere. (except in the upgrade note in lib/upgrade.txt ) Search through code and confirm that there are no more TODOS or mentions of MDL-61165 . Upgrade test Before patch Create a fresh Moodle installation from the latest weekly release. Run cron After patch Check out the latest master branch. Run the upgrade. Run cron again. Confirm that there are no errors related to missing scheduled tasks from mod_quiz and mod_workshop

      So it is 2023 now, and the worlds Global climate problem has been solved. I guess it is time to abandon the old legacy cron system.

      Hence, we need to remove support for it.

       

      •  TODO: mark MDL-3689 as closed as soon as this issue is fixed.

            Daniel Ziegenberg Daniel Ziegenberg
            ankit_frenz Ankit Agarwal
            Andrew Lyons Andrew Lyons
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 49 minutes
                2h 49m

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