Answers.Body: <p>The cron job <code>Job.execute</code> is running all active cron task defined in menu Administer -> System settings -> Scheduled Jobs</p>
  
  <p>If your cron is running as it seems to be, you might first want to check :</p>
  
  <ul>
  <li>if the task <code>Send Scheduled Reminders</code> is enabled in  Administer -> System settings -> Scheduled Jobs</li>
  <li>if the frequency is correct - it should be daily or hourly maybe</li>
  <li>when you click View Job Log - do you have any error</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T16:13:27.723Z
Answers.Text: Scheduled reminder task is activ as is frequency. Log shows the following:
Answers.UserDisplayName: GrannyKat
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T16:38:45.540Z
Answers.Text: Scheduled reminder task is active as is frequency. To troubleshoot, I temporarily set to development environment, but now is changed back to production. Log shows the following
  
  Date Job Name Command/Job Status/Additional Information
  2019-12-04 00:01:04 Send Scheduled Reminders 
  Entity: Job Action: send_reminder
  Summary
  Finished execution of Send Scheduled Reminders with result: Success (1)
  Details
  Not getting cron error email from server.
Answers.UserDisplayName: GrannyKat
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-05T21:10:17.193Z
Answers.Text: Keep in mind that the reminders task is sending only if the condition is valid on the day it is ran. So if the task failed or the cron was not ran on the renewal day, it won't do any catching-up.
Answers.UserDisplayName: samuelsov
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T02:39:17.123Z
Answers.LastActivityDate: 2019-12-04T02:39:17.123Z
Answers.UserDisplayName: samuelsov
Body: <p>Schedule Job for mailings is not working correctly. Other scheduled jobs are working - membership status updates, smart group updates,etc. There should be 250+ renewal emails sent to members with expire date of 12/31/2019, but nothing is sent out. Server will restrict to 50 emails at a time, but should send in tranches of 50. I tried manual execution of scheduled jobs and get same response. We're running Civicrm 5.1.14 with Joomla 3.9.15 on PhP 7.2. Any thoughts? I didn't find any recent examples of this error on stackexchange. </p>
  
  <p>Based on work done by a third party Civicrm partner firm, we have two cron jobs:</p>
  
  <pre><code> /usr/local/bin/php /home/jgsny/public_html/administrator/components/com_civicrm/civicrm/bin/cli.php -s jgsny.org -u civicrm -p xxxxxx -e Job -a execute
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>/usr/bin/wget -O - -v -t 2 'https://jgsny.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=civicrm&amp;pass=xxxxxxx&amp;key=xxxxxxx'
  </code></pre>
  
  <p>The cron job sends a single message:</p>
  
  <pre><code>--2019-12-02 12:55:01--  https://jgsny.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=civicrm&amp;pass=xxxxxx&amp;key=xxxxxxx
  Resolving jgsny.org (jgsny.org)... 209.124.74.61
  Connecting to jgsny.org (jgsny.org)|209.124.74.61|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 0 [text/html]
  Saving to: 'STDOUT'
  
       0K                                                        0.00 =0s
  
  2019-12-02 12:55:02 (0.00 B/s) - written to stdout [0/0]
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-02T19:03:17.343Z
Comments.Text: What version of civicrm? And have you checked for errors in your Civicrm Config and log. -> https://civicrm.org/extensions/civicrm-log-viewer provides a nice way to view this - otherwise it will be located in the Civicrm Files directory under ConfigAndLog
Comments.UserDisplayName: Luke Stewart
Tags: <joomla><scheduled-reminders>
Title: Scheduled Job Membership renewal reminder not running
ThreadText: # Scheduled Job Membership renewal reminder not running
  
  (Asked by: username_0 on 2019-12-02)
  
  Schedule Job for mailings is not working correctly. Other scheduled jobs are working - membership status updates, smart group updates,etc. There should be 250+ renewal emails sent to members with expire date of 12/31/2019, but nothing is sent out. Server will restrict to 50 emails at a time, but should send in tranches of 50. I tried manual execution of scheduled jobs and get same response. We're running Civicrm 5.1.14 with Joomla 3.9.15 on PhP 7.2. Any thoughts? I didn't find any recent examples of this error on stackexchange.
  
  Based on work done by a third party Civicrm partner firm, we have two cron jobs:
  
  ```
   /usr/local/bin/php /home/jgsny/public_html/administrator/components/com_civicrm/civicrm/bin/cli.php -s jgsny.org -u civicrm -p xxxxxx -e Job -a execute
  
  ```
  
  AND
  
  ```
  /usr/bin/wget -O - -v -t 2 'https://jgsny.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=civicrm&pass=xxxxxxx&key=xxxxxxx'
  
  ```
  
  The cron job sends a single message:
  
  ```
  --2019-12-02 12:55:01--  https://jgsny.org/administrator/components/com_civicrm/civicrm/bin/cron.php?name=civicrm&pass=xxxxxx&key=xxxxxxx
  Resolving jgsny.org (jgsny.org)... 209.124.74.61
  Connecting to jgsny.org (jgsny.org)|209.124.74.61|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 0 [text/html]
  Saving to: 'STDOUT'
  
       0K                                                        0.00 =0s
  
  2019-12-02 12:55:02 (0.00 B/s) - written to stdout [0/0]
  
  ```
  
  **Tags:** joomla, scheduled-reminders
  
  > **Comments:**
  > **username_1**: What version of civicrm? And have you checked for errors in your Civicrm Config and log. -> https://civicrm.org/extensions/civicrm-log-viewer provides a nice way to view this - otherwise it will be located in the Civicrm Files directory under ConfigAndLog  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-12-04. Score: 1
  
  The cron job `Job.execute` is running all active cron task defined in menu Administer -> System settings -> Scheduled Jobs
  
  If your cron is running as it seems to be, you might first want to check :
  
  * if the task `Send Scheduled Reminders` is enabled in Administer -> System settings -> Scheduled Jobs
  * if the frequency is correct - it should be daily or hourly maybe
  * when you click View Job Log - do you have any error
  
  > **Comments:**
  > **username_0**: Scheduled reminder task is activ as is frequency. Log shows the following:  
  > **username_0**: Scheduled reminder task is active as is frequency. To troubleshoot, I temporarily set to development environment, but now is changed back to production. Log shows the following  Date Job Name Command/Job Status/Additional Information 2019-12-04 00:01:04 Send Scheduled Reminders  Entity: Job Action: send_reminder Summary Finished execution of Send Scheduled Reminders with result: Success (1) Details Not getting cron error email from server.  
  > **username_2**: Keep in mind that the reminders task is sending only if the condition is valid on the day it is ran. So if the task failed or the cron was not ran on the renewal day, it won't do any catching-up.  
  
  ---
  
  