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

Workshop uses legacy cron

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.7
    • Component/s: Workshop
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64881-master

      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  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