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

Workshop uses legacy cron

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6
    • 3.7
    • Workshop
    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-64881-master
    • Hide
      Test new scheduled tasks
      1. Log in as admin.
      2. Go to Site administration > Server > Tasks > Scheduled tasks
      3. Search for workshop.
      4. Make sure a new scheduled task for workshop is now available:
        Background processing for workshop module
      5. Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon).
      6. Search for Scheduled allocation.
      7. Make sure a new scheduled task for filesystem is now available:
        Background processing for scheduled allocation
      8. Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon).
      Test deprecations

      Run:

      php admin/tool/task/cli/schedule_task.php --execute="\core\task\legacy_plugin_cron_task"
      

      1. Make sure you don't get any debugging related to deprecation of workshop_cron() or workshopallocation_scheduled_cron() functions.
      Show
      Test new scheduled tasks Log in as admin. Go to Site administration > Server > Tasks > Scheduled tasks Search for workshop . Make sure a new scheduled task for workshop is now available: Background processing for workshop module Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon). Search for Scheduled allocation . Make sure a new scheduled task for filesystem is now available: Background processing for scheduled allocation Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon). Test deprecations Run: php admin/tool/task/cli/schedule_task.php --execute="\core\task\legacy_plugin_cron_task" Make sure you don't get any debugging related to deprecation of workshop_cron() or workshopallocation_scheduled_cron() functions.

    Description

      Workshop module and some of their subcomponents, like allocations, are still using legacy cron. This must be moved over to the Scheduled Tasks system.

      Attachments

        1. MDL-64881.png
          121 kB
          Jennifer Bauzon

        Issue Links

          Activity

            People

              lameze Simey Lameze
              sarjona Sara Arjona (@sarjona)
              Shamim Rezaie Shamim Rezaie
              Andrew Lyons Andrew Lyons
              Jennifer Bauzon Jennifer Bauzon
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

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