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

Some repositories use legacy cron

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.7
    • Component/s: Repositories
    • 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 dropbox.
      4. Make sure a new scheduled task for dropbox is now available:
        Background processing for dropbox repository
      5. Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon).
      6. Search for filesystem.
      7. Make sure a new scheduled task for filesystem is now available:
        Background processing for filesystem repository
      8. Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon).
      Test deprecations
      1. Run

        php admin/tool/task/cli/schedule_task.php --execute="\repository_filesystem\task\cron_task"
        

        and

        php admin/tool/task/cli/schedule_task.php --execute="\repository_dropbox\task\cron_task"
        

        and make sure you don't get deprecation errors

      Show
      Test new scheduled tasks Log in as admin. Go to Site administration > Server > Tasks > Scheduled tasks Search for dropbox . Make sure a new scheduled task for dropbox is now available: Background processing for dropbox repository Make sure you are able to edit (Cog icon) and see the logs (That other sheet icon). Search for filesystem . Make sure a new scheduled task for filesystem is now available: Background processing for filesystem repository 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="\repository_filesystem\task\cron_task" and php admin/tool/task/cli/schedule_task.php --execute="\repository_dropbox\task\cron_task" and make sure you don't get deprecation errors
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64882-master

      Description

      Dropbox and filesystem repositories are still using legacy cron. This must be moved over to the Scheduled Tasks system.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 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, 15 minutes
                2h 15m