Temporarily pausing reminder emails?

Re: Temporarily pausing reminder emails?

by Henning Bostelmann -
Number of replies: 1
Picture of Core developers Picture of Plugin developers
Hello
you can stop the reminder e-mails by disabling the relevant "Scheduled Task" in the Moodle administration pages.
However, this will work only temporarily. When the task is re-enabled, it will send out the reminders that were missed. (The same happens when you set the "remind by" date to something in the past - Scheduler will notice that the e-mail has not been sent yet, and will send it on the next available occasion.)
Sending these reminders is done in mod/scheduler/classes/task/send_reminders.php, that's the place where you would need to edit the code in order to change that behaviour (e.g. suppressing the reminder if the date is too far in the past).
In reply to Henning Bostelmann

Re: Temporarily pausing reminder emails?

by B H -
Thanks for the help on this Henning!

In the end we managed to solve this by temporarily turning off the notifications from the plugin in Site administration > notification settings > Reminder of an upcoming appointment.

Luckily it doesn't send out the reminders that were missed when we turn the notifications back on so it's a working as required now smile