Posts made by Howard Miller

Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
It's easy enough to write a query to run from cron and clean up the table. Of course, the nature of the beast is that they will return as there continues to be activity in the courses these users are enrolled in. Of course, the real fix is to delete the users from Moodle. But that throws up issues of data retention and the like.

As it stands, if one does nothing, these tasks build up to swamp all others. The adhoc task queue eventually is doing nothing but attempting to contact long lost users and can't do legitimate tasks any more.

So my assertion is that retrying adhoc tasks forever (even with a one day delay) sounds like a bug. Or my site is broken.
Average of ratings: Useful (1)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I wonder if anybody else has seen something similar. 

We have a significant number of student accounts that (for one reason or another) are still enrolled in courses but no longer have valid email accounts. 

The problem is that email notification fail (as expected), get retried (also as expected) but never seem to get deleted. They just build up. They eventually get to a retry time of 1 day and stay there forever. This seems odd to me.  Surely beyond a certain point Moodle should give up and delete the ad-hoc task?

Any thoughts or experience?
Average of ratings: -