Answers.Body: <p>If you need to use the http method for calling cron, the <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#http" rel="nofollow noreferrer">docs detail</a> That you will need to use wget or curl to pass parameters to the request.   The wget will look similiar to:</p>
  <p><code>wget -O - -q -t 1 'https://example.org/&lt;CONTENT-DIR&gt;/plugins/civicrm/civicrm/bin/cron.php?name=&lt;username&gt;&amp;pass=&lt;password&gt;&amp;key=&lt;site-key&gt;</code></p>
  <p>I would strongly recommend the <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#wp-cli" rel="nofollow noreferrer">wp-cli method in the docs</a> as that will be much more reliable.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-10T12:52:01.190Z
Answers.Text: Okay, will forward that to the CMS guy.
  
  Thanks.
Answers.UserDisplayName: ohdearme
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-10T12:06:14.450Z
Answers.LastActivityDate: 2022-06-10T12:06:14.450Z
Answers.UserDisplayName: Kevin Cristiano
Answers.Body: <p>You can also call the same url internally with PHP. I found this to be more reliable than an external https call.</p>
  <p>Here is an example from the CiviCRM docs.
  php /your/directory/structure/sites/all/modules/civicrm/bin/cli.php -u user -p password -e Job -a execute</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-05T22:29:30.537Z
Answers.LastActivityDate: 2022-07-05T22:29:30.537Z
Answers.UserDisplayName: user2909700
Body: <p>Can someone help with debugging why cron jobs aren't activated on my site?</p>
  <p>When looking at civiCRM system status under Set-up Cron it says</p>
  <blockquote>
  <p>No cron runs have been recorded.
  A cron job is required to execute scheduled jobs automatically.</p>
  </blockquote>
  <p>In the Settings - Scheduled jobs, the Update Membership Statuses (Daily) is activated (along with a few others) with no added parameters but the pop-up window still claims that there is none recorded.</p>
  <p>I can execute the job manually but that kind of defeats the purpose.</p>
  <p>My CMS guy says that cron works every six hours as per instructions in the docs (picture).
  <a href="https://i.sstatic.net/hiiMR.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hiiMR.png" alt="cron-jobs" /></a></p>
  <p>How do I solve this?</p>
  <p>Version of Wordpress it's on is 5.9.3</p>
  <p>Thanks</p>
  
Tags: <wordpress><cron>
Title: cron jobs not working
ThreadText: # cron jobs not working
  
  (Asked by: username_0 on 2022-06-10)
  
  Can someone help with debugging why cron jobs aren't activated on my site?
  
  When looking at civiCRM system status under Set-up Cron it says
  
  > No cron runs have been recorded.
  > A cron job is required to execute scheduled jobs automatically.
  
  In the Settings - Scheduled jobs, the Update Membership Statuses (Daily) is activated (along with a few others) with no added parameters but the pop-up window still claims that there is none recorded.
  
  I can execute the job manually but that kind of defeats the purpose.
  
  My CMS guy says that cron works every six hours as per instructions in the docs (picture).
  [![cron-jobs](https://i.sstatic.net/hiiMR.png)](https://i.sstatic.net/hiiMR.png)
  
  How do I solve this?
  
  Version of Wordpress it's on is 5.9.3
  
  Thanks
  
  **Tags:** wordpress, cron
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-06-10. Score: 1
  
  If you need to use the http method for calling cron, the [docs detail](https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#http) That you will need to use wget or curl to pass parameters to the request. The wget will look similiar to:
  
  `wget -O - -q -t 1 'https://example.org//plugins/civicrm/civicrm/bin/cron.php?name=&pass=&key=`
  
  I would strongly recommend the [wp-cli method in the docs](https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#wp-cli) as that will be much more reliable.
  
  > **Comments:**
  > **username_0**: Okay, will forward that to the CMS guy.  Thanks.  
  
  ---
  
  ### Answer by username_2 on 2022-07-05. Score: 0
  
  You can also call the same url internally with PHP. I found this to be more reliable than an external https call.
  
  Here is an example from the CiviCRM docs.
  php /your/directory/structure/sites/all/modules/civicrm/bin/cli.php -u user -p password -e Job -a execute
  
  
  ---
  
  