Body: <p>I am trying to build a scheduled Membership Renewal Reminder to work but despite every effort I am not getting any reminder emails.   I think my parameters should result in a reminder email being fired off.  But nothing arrives.  Am I missing something?</p>
  <p>To test my renewal reminder system, I set up a “Testing” membership (has $0 dues) for my Test User 3 days ago, which expired yesterday.</p>
  <p><strong>MEMBERSHIP INFO</strong></p>
  <blockquote>
  <p>Member Since: 3/2/2023</p>
  <p>Start Date: 3/2/2023</p>
  <p>End Date: 3/3/2023</p>
  <p>No auto renewal</p>
  </blockquote>
  <p><strong>REMINDER</strong>
  This is the first and only reminder in the system so the ID =1.  The reminder uses following parameters:</p>
  <blockquote>
  <p>Entity: Membership&gt; Testing Membership&gt; Renewal Reminder</p>
  <p>When (trigger date):  1 minute after Membership Join Date</p>
  <p>Record activity for automated mail: yes</p>
  <p>Repeat: Enabled, set for every 10 minutes until 7 days after
  Membership End Date</p>
  <p>Effective Start Date: 3/1/2023</p>
  <p>Effective End Date: 3/19/2023</p>
  <p>From Name: Reminder testing</p>
  <p>From email: info@mydomain.com</p>
  <p>Limit or Add recipients: Neither</p>
  <p>Scheduled Reminder Active: Yes</p>
  </blockquote>
  <p><strong>TEMPLATE</strong></p>
  <p>The template has only one token: {contact.first_name}</p>
  <p><strong>SCHEDULED JOBS</strong></p>
  <p>Furthermore I have added the following parameters to the Send Reminders scheduled job:</p>
  <blockquote>
  <p>Run frequency: Every time the cron job is run</p>
  <p>API Call: Job &gt; send_reminder</p>
  <p>instanceId=1</p>
  <p>format=print</p>
  <p>Scheduled run date: blank</p>
  <p>Is this Scheduled Job Active: Yes</p>
  </blockquote>
  <p><strong>JOB EXECUTION</strong></p>
  <p>After manually executing the job I get the following success message:</p>
  <p>Entity: Job Action: send_reminder</p>
  <p><em>Summary</em></p>
  <blockquote>
  <p>Finished execution of Send Scheduled Reminders with result: Success (1)</p>
  </blockquote>
  <p><em>Details</em></p>
  <p>Parameters raw (from db settings):</p>
  <blockquote>
  <p>instanceId=1</p>
  <p>format=print</p>
  <p>sendmail=1</p>
  </blockquote>
  <p>Parameters parsed (and passed to API method):</p>
  <blockquote>
  <p>a:4:{s:7:&quot;version&quot;;i:3;s:10:&quot;instanceId&quot;;s:1:&quot;1&quot;;s:6:&quot;format&quot;;s:5:&quot;print&quot;;s:8:&quot;sendmail&quot;;s:1:&quot;1&quot;;}</p>
  </blockquote>
  <p>Full message: Finished execution of Send Scheduled Reminders with result: Success (1)</p>
  <p><strong>SYSTEM</strong>
  CiviCRM 5.59.0</p>
  <p>SendMail is tested and works fine.</p>
  <p>CRON is working and runs every 16 minutes.</p>
  <p>The destination email inbox is working fine.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-05T18:55:39.357Z
Comments.Text: Random thought #1: Maybe test with using a period other than 1 minute (eg 1 day).
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-05T18:56:27.110Z
Comments.Text: Random thought #2: if you have access to the db tables then maybe worth taking a look at the civicrm_action_* tables in case anything leaps out from that
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-06T18:32:38.933Z
Comments.Text: Random throught #3: strip out all your parameters from the Sch Job - confirm it runs, then start adding them back in (I just checked on a site that works and we have no parameters set for the job)
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-06T22:53:21.477Z
Comments.Text: How do I get it to run without any parameters?  It needs to know when to run, and what to send.
Comments.UserDisplayName: Dwight Martino
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-07T19:19:55.397Z
Comments.Text: compare with https://dmaster.demo.civicrm.org/civicrm/admin/job?action=update&id=9&reset=1 there is a dropdown to set the frequency, and to enable the Job
Comments.UserDisplayName: petednz - fuzion
Tags: <scheduled-reminders>
Title: Membership Scheduled Reminders Failure
ThreadText: # Membership Scheduled Reminders Failure
  
  (Asked by: username_0 on 2023-03-04)
  
  I am trying to build a scheduled Membership Renewal Reminder to work but despite every effort I am not getting any reminder emails. I think my parameters should result in a reminder email being fired off. But nothing arrives. Am I missing something?
  
  To test my renewal reminder system, I set up a “Testing” membership (has $0 dues) for my Test User 3 days ago, which expired yesterday.
  
  **MEMBERSHIP INFO**
  
  > Member Since: 3/2/2023
  >
  > Start Date: 3/2/2023
  >
  > End Date: 3/3/2023
  >
  > No auto renewal
  
  **REMINDER**
  This is the first and only reminder in the system so the ID =1. The reminder uses following parameters:
  
  > Entity: Membership> Testing Membership> Renewal Reminder
  >
  > When (trigger date): 1 minute after Membership Join Date
  >
  > Record activity for automated mail: yes
  >
  > Repeat: Enabled, set for every 10 minutes until 7 days after
  > Membership End Date
  >
  > Effective Start Date: 3/1/2023
  >
  > Effective End Date: 3/19/2023
  >
  > From Name: Reminder testing
  >
  > From email: info@mydomain.com
  >
  > Limit or Add recipients: Neither
  >
  > Scheduled Reminder Active: Yes
  
  **TEMPLATE**
  
  The template has only one token: {contact.first\_name}
  
  **SCHEDULED JOBS**
  
  Furthermore I have added the following parameters to the Send Reminders scheduled job:
  
  > Run frequency: Every time the cron job is run
  >
  > API Call: Job > send\_reminder
  >
  > instanceId=1
  >
  > format=print
  >
  > Scheduled run date: blank
  >
  > Is this Scheduled Job Active: Yes
  
  **JOB EXECUTION**
  
  After manually executing the job I get the following success message:
  
  Entity: Job Action: send\_reminder
  
  *Summary*
  
  > Finished execution of Send Scheduled Reminders with result: Success (1)
  
  *Details*
  
  Parameters raw (from db settings):
  
  > instanceId=1
  >
  > format=print
  >
  > sendmail=1
  
  Parameters parsed (and passed to API method):
  
  > a:4:{s:7:"version";i:3;s:10:"instanceId";s:1:"1";s:6:"format";s:5:"print";s:8:"sendmail";s:1:"1";}
  
  Full message: Finished execution of Send Scheduled Reminders with result: Success (1)
  
  **SYSTEM**
  CiviCRM 5.59.0
  
  SendMail is tested and works fine.
  
  CRON is working and runs every 16 minutes.
  
  The destination email inbox is working fine.
  
  **Tags:** scheduled-reminders
  
  > **Comments:**
  > **username_1**: Random thought #1: Maybe test with using a period other than 1 minute (eg 1 day).  
  > **username_1**: Random thought #2: if you have access to the db tables then maybe worth taking a look at the civicrm_action_* tables in case anything leaps out from that  
  > **username_1**: Random throught #3: strip out all your parameters from the Sch Job - confirm it runs, then start adding them back in (I just checked on a site that works and we have no parameters set for the job)  
  > **username_0**: How do I get it to run without any parameters?  It needs to know when to run, and what to send.  
  > **username_1**: compare with https://dmaster.demo.civicrm.org/civicrm/admin/job?action=update&id=9&reset=1 there is a dropdown to set the frequency, and to enable the Job  
  
  ---
  
  ## 0 answers
  
  