'Mail now' does not immediately sent notifications to forum subscribers

'Mail now' does not immediately sent notifications to forum subscribers

by Julian ter Huurne -
Number of replies: 1

Hello,

We have an issue that we have been looking into for a while now but unfortunately are not able to find the exact place to make the appropriate changes.

When ticking the box 'mail now' at the bottom of a forum message, the mail notifications to the forum subscribers is not immediately sent out. That message appears to go out with any other notifications.

We are looking into cron-job settings, but that seems to affect quite a bit of other actions (see list below)

Does anyone have an idea where to change the settings to make the 'mail now' function work appropriately?

Thanks,

Julian


Cron-job execution order:

            - Cleanup old sessions

            - Send new user passwords

            - Send failed login notifications

            - Legacy cron processing for plugins

            - Background processing for gradebook

            - Background processing for events

            - Calculate completion data

            - Background processing for portfolio plugins

            - Background processing for plagiarism plugins        

            - Send calendar notifications

            - Sync external blogs

            - Background processing for question engine

            - Forum mailings and maintenance jobs

Average of ratings: -
In reply to Julian ter Huurne

Re: 'Mail now' does not immediately sent notifications to forum subscribers

by Robert Brenstein -
I think that "mail now" is a bit of misnomer... As far as I know, this means that instead of respecting the forum-specific delay for mailing a given post, it is added to the mail queue right away. The mail queue will be processed at the next cron run, whenever that occurs. That means that there can still be a delay until the mail actually goes out. For example, if your forum is set to allow editing of posts for 20 mins and cron runs every 5 mins, "mail now" means that your mail will go out within 5 mins instead of within 25 mins. Caveat: there were some substantial changes with regards to cron in the recent versions of Moodle, which may affect this, but probably not or not significantly.

If the understanding is not the issue, there may be a technical problem with the scheduling of mail-now mails on your site. There have been a few threads about different technical issues. Search the forum.