Assignment module causes cron to stop

Assignment module causes cron to stop

by Dominique-Alain Jan -
Number of replies: 2
Picture of Testers
I still have a problem with my cron. A few weeks agon, cron stops to working. Whenever you launch it by had it says:

Server Time: Wed, 30 Sep 2009 18:05:35 +0200

Starting activity modules
Processing module function assignment_cron ... Because it tells "processing module" I had the idea to hide module by module and test cron at each step. It appears that when my "assignment" module is visible, cron doesn't work. In my course assignement module is used 197 times, so I can't delete it. Where and how can I investigate to find a solution and make both assignment and cron working together? -dajan

Average of ratings: Useful (1)
In reply to Dominique-Alain Jan

Re: Assignment module causes cron to stop

by Dominique-Alain Jan -
Picture of Testers
The temporary solution I have found so fat is to set to 0 the field 'cron' in the table 'modules' from the Moodle database.

Ugly but it saves my life for the moment.

Do anyone an idea why cron is topped by the module 'Assignment'. Did one of my colleague did something wrong in one of the others assignment? Where do I have to investigate?

-dajan
In reply to Dominique-Alain Jan

Svar: Assignment module causes cron to stop

by Marcus Rejås -
I also encountered this problem at some sites. I think it is due to directories of removed (or moved) modules or moduleparts. In this case the problem dirs was:

mod/assignment/type/assignmentoffline/
mod/assignment/type/assignmentonline/
mod/assignment/type/blog/
mod/assignment/type/program/

I have also noticed other directories causing problem after a CVS update.

Regards,

/Marcus