Answers.Body: <p>Based on your comments, I was able to use <a href="https://www.epochconverter.com/" rel="nofollow noreferrer">https://www.epochconverter.com/</a> and see that cron was last run at 5am (GMT) on August 30th.  You submitted that comment around 10:30pm GMT.  That strongly suggests your cron is a) working correctly, but b) isn't running at least hourly.  This causes the "Cron not running" warning.  It's possibly also the cause of the scheduled job not working correctly, though not definitively.</p>
  
  <p>Please update your cron settings to run at least hourly (I recommend every 15 minutes if you use CiviMail).  Once that's done, either a) please let us know if it solved your problem, or b) edit your question to reflect the updated situation.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-31T18:34:20.430Z
Answers.Text: Thank you. Changing the cron setting to run hourly DID get rid of the Error message and the Jobs did run but not successfully. For example the updating membership statuses did not happen. This is the cron I have setup - curl -s 'https://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=weaverfran&pass=#####&key=#####' . Am I doing something else wrong?
Answers.UserDisplayName: Fran Nowakowski
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-31T18:36:31.800Z
Answers.Text: I can't seem to add the cron code to my message. It gets truncated.
Answers.UserDisplayName: Fran Nowakowski
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T01:11:27.067Z
Answers.Text: Could you please edit your question to reflect the cron setup that's truncated in the comments?  Also, please see if other scheduled jobs are working properly; it's possible that the issue isn't cron, but your CiviMember configuration.  Detecting if other scheduled jobs are working will help us isolate the issue.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T14:16:38.930Z
Answers.Text: The member status updates are not successfully running neither is the scheduled reminders job. I'm sorry I don't know how to format the cron setup so that it is not truncated. I've tried a couple of different options but they all end up truncating.
Answers.UserDisplayName: Fran Nowakowski
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T18:51:15.440Z
Answers.Text: If you edit the question to include the truncated version, I can press "Edit" and fix it.  I can't edit your comments though. Please comment on this answer so I see that you've updated it?
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-02T18:46:51.013Z
Answers.Text: I have edited the question and added the cron. Thanks.
Answers.UserDisplayName: Fran Nowakowski
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-31T04:36:02.117Z
Answers.LastActivityDate: 2017-08-31T04:36:02.117Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Up until recently, the cron job I had set up was running correctly and the Scheduled Jobs were being run. However, since I upgraded (currently running 4.7.21) I am now getting an error message that the cron job isn't running. I made no changes to the cron job. BUT when I check the log, it says the job has been run although it doesn't appear that the task was done. I have Joomla 3.7.4.</p>
  
  <p>The Error message is 
  System Status: Warning
      Performance warning: Missing indices
      Cron Not Running
      Remote Profiles Enabled</p>
  
  <p>The log says 
  Entity: Job Action: process_membership
  Summary
  Finished execution of Update Membership Statuses with result: Success (Processed 159 membership records. Updated 0 records.)</p>
  
  <p>Details
  Parameters parsed (and passed to API method): 
  a:1:{s:7:"version";i:3;}</p>
  
  <p>Full message: 
  Finished execution of Update Membership Statuses with result: Success (Processed 159 membership records. Updated 0 records.)</p>
  
  <p>The cron is - </p>
  
  <pre><code>curl -s 'https://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=weaverfran&amp;pass=#####&amp;key=#####’
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-29T17:25:45.797Z
Comments.Text: Since the Admin console says "Cron not running" I'm guessing that the job log is referring to an older cron run.  Can you please edit your question to clarify whether the "Last Run" column on **Administer menu » System Settings » Scheduled Jobs** is getting updated or not?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-29T23:25:49.370Z
Comments.Text: The Last Run date was August 28.
Comments.UserDisplayName: Fran Nowakowski
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-30T03:59:52.733Z
Comments.Text: Could you please look up the lastCron value?  Go to **Support menu » Developer » API Explorer**.  Set the *Entity* to **StatusPreference** and *Action* to **get**.  Press **Execute**.  In the values below, find the one with the *name* of "checkLastCron" and report back the value listed next to "check_info"?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-30T21:46:14.113Z
Comments.Text: It is - check_info": "1504069203"
Comments.UserDisplayName: Fran Nowakowski
Tags: <joomla><cron-job><scheduled-job>
Title: Scheduled Jobs no longer running
ThreadText: # Scheduled Jobs no longer running
  
  (Asked by: username_0 on 2017-08-29)
  
  Up until recently, the cron job I had set up was running correctly and the Scheduled Jobs were being run. However, since I upgraded (currently running 4.7.21) I am now getting an error message that the cron job isn't running. I made no changes to the cron job. BUT when I check the log, it says the job has been run although it doesn't appear that the task was done. I have Joomla 3.7.4.
  
  The Error message is
  System Status: Warning
  Performance warning: Missing indices
  Cron Not Running
  Remote Profiles Enabled
  
  The log says
  Entity: Job Action: process\_membership
  Summary
  Finished execution of Update Membership Statuses with result: Success (Processed 159 membership records. Updated 0 records.)
  
  Details
  Parameters parsed (and passed to API method):
  a:1:{s:7:"version";i:3;}
  
  Full message:
  Finished execution of Update Membership Statuses with result: Success (Processed 159 membership records. Updated 0 records.)
  
  The cron is -
  
  ```
  curl -s 'https://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=weaverfran&pass=#####&key=#####’
  
  ```
  
  **Tags:** joomla, cron-job, scheduled-job
  
  > **Comments:**
  > **username_1**: Since the Admin console says "Cron not running" I'm guessing that the job log is referring to an older cron run.  Can you please edit your question to clarify whether the "Last Run" column on **Administer menu » System Settings » Scheduled Jobs** is getting updated or not?  
  > **username_0**: The Last Run date was August 28.  
  > **username_1**: Could you please look up the lastCron value?  Go to **Support menu » Developer » API Explorer**.  Set the *Entity* to **StatusPreference** and *Action* to **get**.  Press **Execute**.  In the values below, find the one with the *name* of "checkLastCron" and report back the value listed next to "check_info"?  
  > **username_0**: It is - check_info": "1504069203"  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-08-31. Score: 0
  
  Based on your comments, I was able to use <https://www.epochconverter.com/> and see that cron was last run at 5am (GMT) on August 30th. You submitted that comment around 10:30pm GMT. That strongly suggests your cron is a) working correctly, but b) isn't running at least hourly. This causes the "Cron not running" warning. It's possibly also the cause of the scheduled job not working correctly, though not definitively.
  
  Please update your cron settings to run at least hourly (I recommend every 15 minutes if you use CiviMail). Once that's done, either a) please let us know if it solved your problem, or b) edit your question to reflect the updated situation.
  
  > **Comments:**
  > **username_0**: Thank you. Changing the cron setting to run hourly DID get rid of the Error message and the Jobs did run but not successfully. For example the updating membership statuses did not happen. This is the cron I have setup - curl -s 'https://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=weaverfran&pass=#####&key=#####' . Am I doing something else wrong?  
  > **username_0**: I can't seem to add the cron code to my message. It gets truncated.  
  > **username_1**: Could you please edit your question to reflect the cron setup that's truncated in the comments?  Also, please see if other scheduled jobs are working properly; it's possible that the issue isn't cron, but your CiviMember configuration.  Detecting if other scheduled jobs are working will help us isolate the issue.  
  > **username_0**: The member status updates are not successfully running neither is the scheduled reminders job. I'm sorry I don't know how to format the cron setup so that it is not truncated. I've tried a couple of different options but they all end up truncating.  
  > **username_1**: If you edit the question to include the truncated version, I can press "Edit" and fix it.  I can't edit your comments though. Please comment on this answer so I see that you've updated it?  
  > **username_0**: I have edited the question and added the cron. Thanks.  
  
  ---
  
  