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).
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).