Answers.Body: <p>I have made the same mistake myself, more than once - ugh! To avoid emails being sent when a scheduled job needs to catch up on backlog:</p>
  <ol>
  <li>Switch from <a href="https://docs.civicrm.org/sysadmin/en/latest/misc/staging-production/" rel="noreferrer"><strong>production to staging</strong></a> mode</li>
  <li>Manually execute the schedule reminders job - this will result in an activity being recorded on the participant's contact record, but will not send the email (the desired impact)</li>
  <li>Switch back to production - the activities recorded on the participant's contact record will prevent schedule reminders being sent for the same events</li>
  </ol>
  <p>Hope this helps!</p>
  <p>Tamar</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-20T12:05:54.590Z
Answers.Text: That's marvellous. Thanks Tamar!
  
  Now I've found the next badly configured scheduled reminder. This is going to be a fun afternoon.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-20T02:30:51.593Z
Answers.LastActivityDate: 2018-11-20T02:30:51.593Z
Answers.LastEditDate: 2020-06-17T09:00:50.810Z
Answers.UserDisplayName: Tamar Meir - Cividesk
Body: <p>Recently scheduled reminders stopped working on a site.</p>
  
  <p>on investigation of error logs I found that one reminder out of several was incrrectly configured. I deleted the reminder. The next time the scheduled reminder job ran, all went well but a backlog of 3 months of event reminders sent at the same time.</p>
  
  <p>I've found a similar error on another site, and have disabled scheduled reminder task while investigating and deleting the incorrectly configured reminder.</p>
  
  <p>before I turn the scheduled reminder task back on, how can I stop the backlog of old reminders from sending?</p>
  
Tags: <scheduled-reminders>
Title: How to safely restart Scheduled reminders
ThreadText: # How to safely restart Scheduled reminders
  
  (Asked by: username_0 on 2018-11-19)
  
  Recently scheduled reminders stopped working on a site.
  
  on investigation of error logs I found that one reminder out of several was incrrectly configured. I deleted the reminder. The next time the scheduled reminder job ran, all went well but a backlog of 3 months of event reminders sent at the same time.
  
  I've found a similar error on another site, and have disabled scheduled reminder task while investigating and deleting the incorrectly configured reminder.
  
  before I turn the scheduled reminder task back on, how can I stop the backlog of old reminders from sending?
  
  **Tags:** scheduled-reminders
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-20. Score: 7 | Accepted answer
  
  I have made the same mistake myself, more than once - ugh! To avoid emails being sent when a scheduled job needs to catch up on backlog:
  
  1. Switch from [**production to staging**](https://docs.civicrm.org/sysadmin/en/latest/misc/staging-production/) mode
  2. Manually execute the schedule reminders job - this will result in an activity being recorded on the participant's contact record, but will not send the email (the desired impact)
  3. Switch back to production - the activities recorded on the participant's contact record will prevent schedule reminders being sent for the same events
  
  Hope this helps!
  
  Tamar
  
  > **Comments:**
  > **username_0**: That's marvellous. Thanks Tamar!  Now I've found the next badly configured scheduled reminder. This is going to be a fun afternoon.  
  
  ---
  
  