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

Cron.php repetedly references disabled module "Enrolment file processing skipped - the component enrol_imsenterprise is disabled"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      The cron.php command line script (admin/cli/cron.php) seems to try to process a disabled module multiple times in the process. It also pauses each time this module is encountered when one observes and this increases the time it takes to process script. Not a big deal but it seems as though the cron.php script should only check once to see if enrol_imsenterprise is enabled/disabled and then not check again.

      Server Time: Thu, 18 Dec 2014 13:25:01 -0500

      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Cleanup contexts
      ... started 13:25:01. Current memory use 18.2MB.
      Cleaned up context instances
      ... used 9 dbqueries
      ... used 0.54496908187866 seconds
      Scheduled task complete: Cleanup contexts
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Forum mailings and maintenance jobs
      ... started 13:25:02. Current memory use 19.4MB.
      Processing user 7477
      Sending post 149507: Re: Discussion 1
      Processing user 9305
      Sending post 149507: Re: Discussion 1
      Processing user 9309
      Sending post 149507: Re: Discussion 1
      Processing user 8270
      Sending post 149507: Re: Discussion 1
      Processing user 8272
      Sending post 149507: Re: Discussion 1
      Processing user 95
      Sending post 149507: Re: Discussion 1
      Processing user 8283
      Sending post 149507: Re: Discussion 1
      Processing user 8276
      Sending post 149507: Re: Discussion 1
      Processing user 9311
      Sending post 149507: Re: Discussion 1
      Processing user 9316
      Sending post 149507: Re: Discussion 1
      Processing user 9317
      Sending post 149507: Re: Discussion 1
      Processing user 8280
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 8268
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 8274
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 8279
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 8281
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 9312
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 3379
      Sending post 149508: Re: What will they think?
      Sending post 149513: Re: What will they think?
      Processing user 8273
      Processing user 8056
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 9017
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 9020
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8054
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8062
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8061
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8588
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8060
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 9021
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 9022
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8064
      Sending post 149509: Re: Allergies
      Sending post 149511: Re: Allergies
      Processing user 8145
      Sending post 149512: Re: The Palate
      Processing user 8152
      Sending post 149512: Re: The Palate
      Processing user 8140
      Sending post 149512: Re: The Palate
      Processing user 55
      Sending post 149512: Re: The Palate
      Processing user 8149
      Sending post 149512: Re: The Palate
      Processing user 9117
      Sending post 149512: Re: The Palate
      Processing user 9121
      Sending post 149512: Re: The Palate
      Processing user 9122
      Sending post 149512: Re: The Palate
      Processing user 9123
      Sending post 149512: Re: The Palate
      Processing user 8143
      Sending post 149512: Re: The Palate
      11 users were sent post 149507, 'Re: Discussion 1'
      7 users were sent post 149508, 'Re: What will they think?'
      11 users were sent post 149509, 'Re: Allergies'
      0 users were sent post 149510, 'Re: Visit to your supermarket.'
      11 users were sent post 149511, 'Re: Allergies'
      10 users were sent post 149512, 'Re: The Palate'
      7 users were sent post 149513, 'Re: What will they think?'
      Starting digest processing...
      Cleaned old digest records
      ... used 825 dbqueries
      ... used 22.891033887863 seconds
      Scheduled task complete: Forum mailings and maintenance jobs
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Cleanup old sessions
      ... started 13:25:25. Current memory use 39.1MB.
      ... used 23 dbqueries
      ... used 0.043331146240234 seconds
      Scheduled task complete: Cleanup old sessions
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Removes any unnecessary event monitor events
      ... started 13:25:25. Current memory use 38.6MB.
      ... used 0 dbqueries
      ... used 4.3153762817383E-5 seconds
      Scheduled task complete: Removes any unnecessary event monitor events
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Incoming email pickup
      ... started 13:25:25. Current memory use 38.6MB.
      Connecting to ourworldservices.com as xxxx@xxxxxxx...
      Connection established.
      Searching for Unseen, Unflagged email in the folder 'INBOX'
      Found 0 messages to parse. Parsing...
      ... used 0 dbqueries
      ... used 0.29577207565308 seconds
      Scheduled task complete: Incoming email pickup
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Send new user passwords
      ... started 13:25:25. Current memory use 41.1MB.
      ... used 1 dbqueries
      ... used 0.0044851303100586 seconds
      Scheduled task complete: Send new user passwords
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Background processing for question engine
      ... started 13:25:25. Current memory use 41.1MB.

      Cleaning up old question previews...done.

      Cleaning up old question statistics cache records...done.
      ... used 9 dbqueries
      ... used 0.22584819793701 seconds
      Scheduled task complete: Background processing for question engine
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Calculate completion data
      ... started 13:25:26. Current memory use 43.8MB.
      ... used 7 dbqueries
      ... used 0.1050968170166 seconds
      Scheduled task complete: Calculate completion data
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Background processing for events
      ... started 13:25:26. Current memory use 46.1MB.
      ... used 2 dbqueries
      ... used 0.0017030239105225 seconds
      Scheduled task complete: Background processing for events
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Background processing for portfolio plugins
      ... started 13:25:26. Current memory use 46.1MB.
      Exception thrown in portfolio cron while cleaning up 2183: Could not find
      the component specified mod_assignment.
      ... used 3 dbqueries
      ... used 0.014331817626953 seconds
      Scheduled task complete: Background processing for portfolio plugins
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Send failed login notifications
      ... started 13:25:26. Current memory use 46.9MB.
      ... used 2 dbqueries
      ... used 0.0018889904022217 seconds
      Scheduled task complete: Send failed login notifications
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Create missing contexts
      ... started 13:25:26. Current memory use 46.9MB.
      Created missing context instances
      ... used 11 dbqueries
      ... used 0.54386901855469 seconds
      Scheduled task complete: Create missing contexts
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Background processing for plagiarism plugins
      ... started 13:25:26. Current memory use 47MB.
      ... used 0 dbqueries
      ... used 0.00028610229492188 seconds
      Scheduled task complete: Background processing for plagiarism plugins
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Send calendar notifications
      ... started 13:25:26. Current memory use 47MB.
      Updating calendar subscriptions:
      ... started 13:25:26. Current memory use 47.9MB.
      Updating calendar subscription School in course 0
      Error updating calendar subscription: The given iCal URL is invalid.
      Finished updating calendar subscriptions.
      ... used 1 dbqueries
      ... used 0.041646957397461 seconds
      Scheduled task complete: Send calendar notifications
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Background processing for gradebook
      ... started 13:25:26. Current memory use 47.9MB.
      Deleted old grade history records from 'grade_outcomes_history'
      Deleted old grade history records from 'grade_categories_history'
      Deleted old grade history records from 'grade_items_history'
      Deleted old grade history records from 'grade_grades_history'
      Deleted old grade history records from 'scale_history'
      ... used 7 dbqueries
      ... used 0.04336404800415 seconds
      Scheduled task complete: Background processing for gradebook
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Sync external blogs
      ... started 13:25:27. Current memory use 48MB.
      ... used 2 dbqueries
      ... used 0.11393904685974 seconds
      Scheduled task complete: Sync external blogs
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Execute scheduled task: Award badges
      ... started 13:25:27. Current memory use 48.5MB.
      Started reviewing available badges.
      Badges were issued 0 time(s).
      Sending scheduled badge notifications.
      ... used 2 dbqueries
      ... used 0.0042221546173096 seconds
      Scheduled task complete: Award badges
      Enrolment file processing skipped - the component enrol_imsenterprise is
      disabled
      Cron script completed correctly
      Cron completed at 13:25:27. Memory used 48.8MB.
      Execution took 25.313188 seconds

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              cmolnar@ourworldservices.com Christopher Molnar
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: