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

Standard block plugins use legacy cron

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.5
    • Blocks
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • MDL-61960-master
    • Hide
      • This test requires making alterations directly to the database.

      Refresh RSS feeds

      1. Create a course
      2. Add the remote rss feeds block.
      3. edit it and add the following feed : https://www.safetyandquality.gov.au/feed/
      4. Go to the scheduled tasks page (Site administration > Server > Scheduled tasks)
      5. Run the task for Refresh RSS feeds task. There should be a link that says "Run now"
      6. Check the output (of the scheduled task) that the rss feed has been refreshed.

      Recent activity block cleanup

      1. Add the recent activity block
      2. As a teacher create an activity.
      3. Update the time created field for the entry in block_recent_activity to be greater than two days ago.
      4. Go to the scheduled tasks page (Site administration > Server > Scheduled tasks)
      5. Run the scheduled task Cleanup taks for recent activity block. There should a linkk that says "Run now"
      6. Check back to the updated db entry.
      7. Check that the entry has been removed.
      Show
      This test requires making alterations directly to the database. Refresh RSS feeds Create a course Add the remote rss feeds block. edit it and add the following feed : https://www.safetyandquality.gov.au/feed/ Go to the scheduled tasks page (Site administration > Server > Scheduled tasks) Run the task for Refresh RSS feeds task. There should be a link that says "Run now" Check the output (of the scheduled task) that the rss feed has been refreshed. Recent activity block cleanup Add the recent activity block As a teacher create an activity. Update the time created field for the entry in block_recent_activity to be greater than two days ago. Go to the scheduled tasks page (Site administration > Server > Scheduled tasks) Run the scheduled task Cleanup taks for recent activity block. There should a linkk that says "Run now" Check back to the updated db entry. Check that the entry has been removed.

      As described in https://tracker.moodle.org/browse/MDL-61164 we need to convert legacy cron functions to scheduled tasks

       

      The blocks rss_client and recent_activity are still using legacy cron.

            farhan6318 Farhan Karmali
            farhan6318 Farhan Karmali
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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