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

Plagiarism uses legacy cron

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.7
    • 3.7
    • Plagiarism
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65051-master
    • Hide
      1. Run:

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

      2. It should work as before.
      3. Grep for plagiarism_cron() it should not find any occurrence
      4. Bonus1: Install a real plagiarism plugin, such https://moodle.org/plugins/plagiarism_vericite and make sure it still works as before. (requires cron execution using the command above).
      5. Bonus2: As a complementaty test, installing and enabling https://github.com/stronk7/moodle-plagiarism_dummypla should also allow you to verify that the plagiarism machinery continues working ok (this one is cron-less). Just create a couple of forum posts, one of the containing the "plagiarism" word and it will be detected.
      Show
      Run: php admin/tool/task/cli/schedule_task.php --execute=\\core\\task\\plagiarism_cron_task It should work as before. Grep for plagiarism_cron() it should not find any occurrence Bonus1: Install a real plagiarism plugin, such https://moodle.org/plugins/plagiarism_vericite and make sure it still works as before. (requires cron execution using the command above). Bonus2: As a complementaty test, installing and enabling https://github.com/stronk7/moodle-plagiarism_dummypla should also allow you to verify that the plagiarism machinery continues working ok (this one is cron-less). Just create a couple of forum posts, one of the containing the "plagiarism" word and it will be detected.

      Doing a quick search I found another legacy cron function plagiarism_cron() on plagiarismlib.lib. That needs to be converted to scheduled task.

            lameze Simey Lameze
            lameze Simey Lameze
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Peter Dias Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            6 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, 40 minutes
                2h 40m

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