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

Cron warns about disabled enrol_imsenterprise after each scheduled task

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable the enrolment method IMS Enterprise file
      2. Update the task Enrolment file processing to run at each minute
      3. Run cron
      4. Make sure the task ran
      5. Disable the enrolment method Enrolment file processing
      6. Wait a minute and run cron
      7. Make sure the task did not run and nothing was notified in the cron log
      8. Go to the screen to edit the scheduled tasks
      9. Make sure the Next run value is set to Plugin disabled in both the main screen, and the edit screen of the task
      10. On the main scren, make sure the TR tag containing Enrolment file processing has the class disabled
      11. Edit another task and set it to disabled, make sure
        • Next run is reported as Task disabled on both the main screen and the edit screen
        • The TR tag containing the task has the class "disabled"
      12. Run the CLI admin/tool/task/cli/schedule_task.php --list
      13. Make sure Next run is accurate for both tasks.
      Show
      Enable the enrolment method IMS Enterprise file Update the task Enrolment file processing to run at each minute Run cron Make sure the task ran Disable the enrolment method Enrolment file processing Wait a minute and run cron Make sure the task did not run and nothing was notified in the cron log Go to the screen to edit the scheduled tasks Make sure the Next run value is set to Plugin disabled in both the main screen, and the edit screen of the task On the main scren, make sure the TR tag containing Enrolment file processing has the class disabled Edit another task and set it to disabled, make sure Next run is reported as Task disabled on both the main screen and the edit screen The TR tag containing the task has the class "disabled" Run the CLI admin/tool/task/cli/schedule_task.php --list Make sure Next run is accurate for both tasks.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48383-master
    • Sprint:
      Team A Sprint 1, Team '; drop tables Sprint 2
    • Issue size:
      Small

      Description

      When both legacy logs and lms enterprise enrolment are disabled, the output of every cron is showing the message :

      Enrolment file processing skipped - the component enrol_imsenterprise is disabled
      Legacy log table cleanup skipped - the component logstore_legacy is disabled
      

      After a minor upgrade of Moodle, this line is appearing between every 'Schedule task complete:' and 'Execute scheduled tast:'. On my system this means the chekking is happening more than 25 times!

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  2/Feb/15