Answers.Body: <p>The cron url seem to be wrong, it should have been</p>
  
  <pre><code>https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=&lt;username&gt;&amp;pass=&lt;password&gt;&amp;key=&lt;site-key&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T07:27:29.743Z
Answers.Text: Thanks, I tried with:
  https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&pass=password=string-site-key
  **without curl** 
  but I still have problems
  I have a doubt: do I have to change the cron.php file?
  username
  password
  site-key
  Thanks
Answers.UserDisplayName: simonetta officinecollegate
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T08:51:15.517Z
Answers.Text: with:   https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=<username>&pass=<password>&key=<site-key>    message is: /usr/local/cpanel/bin/jailshell: admin: No such file or directory
Answers.UserDisplayName: simonetta officinecollegate
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T11:59:28.270Z
Answers.Text: *in case it can serve someone* 
  with this code I no longer receive an error message in my e-mail; even the CiviCRM system status no longer reports errors; I didn't insert quotation marks, this is code: 
  
  wget -O / dev / null -q -t 1 https: //site/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=my-admin&pass=my-pass&key=xxxxxx
Answers.UserDisplayName: simonetta officinecollegate
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T12:09:44.510Z
Answers.Text: Yeah you need to add them in quotes. Congrats you made it work.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T13:52:19.907Z
Answers.Text: OH!    still mistake!     wget -O /dev/null -q -t 1 https://my-site/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=my-admin&pass=my-pass&key=xxxxxxxxxx
  -jailshell: *syntax error near unexpected token `)'*
Answers.UserDisplayName: simonetta officinecollegate
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-12T20:47:29.720Z
Answers.LastActivityDate: 2018-06-12T20:47:29.720Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>The administrator manual has a section on how to setup the cron command. <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#cron" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#cron</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T13:19:10.063Z
Answers.LastActivityDate: 2018-06-13T13:19:10.063Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I use wordpress 4.9.6 and civiCRM 5.1.2 for wordpress
  in my cPanel:
  string command:</p>
  
  <p><a href="https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&amp;pass=password=curl" rel="nofollow noreferrer">https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&amp;pass=password=curl</a> '[string site-key]'</p>
  
  <p>message mail:
  You need to send a valid key to execute this file. 
  Why my key it's not valid? I took the key in cvicrm.settings.php
  Thanks</p>
  
Tags: <wordpress><cron>
Title: cron setting in cPanel error
ThreadText: # cron setting in cPanel error
  
  (Asked by: username_0 on 2018-06-12)
  
  I use wordpress 4.9.6 and civiCRM 5.1.2 for wordpress
  in my cPanel:
  string command:
  
  <https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&pass=password=curl> '[string site-key]'
  
  message mail:
  You need to send a valid key to execute this file.
  Why my key it's not valid? I took the key in cvicrm.settings.php
  Thanks
  
  **Tags:** wordpress, cron
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-06-12. Score: 1
  
  The cron url seem to be wrong, it should have been
  
  ```
  https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=<username>&pass=<password>&key=<site-key>
  
  ```
  
  > **Comments:**
  > **username_0**: Thanks, I tried with: https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=username&pass=password=string-site-key **without curl**  but I still have problems I have a doubt: do I have to change the cron.php file? username password site-key Thanks  
  > **username_0**: with:   https://mysite/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=<username>&pass=<password>&key=<site-key>    message is: /usr/local/cpanel/bin/jailshell: admin: No such file or directory  
  > **username_0**: *in case it can serve someone*  with this code I no longer receive an error message in my e-mail; even the CiviCRM system status no longer reports errors; I didn't insert quotation marks, this is code:   wget -O / dev / null -q -t 1 https: //site/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=my-admin&pass=my-pass&key=xxxxxx  
  > **username_1**: Yeah you need to add them in quotes. Congrats you made it work.  
  > **username_0**: OH!    still mistake!     wget -O /dev/null -q -t 1 https://my-site/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=my-admin&pass=my-pass&key=xxxxxxxxxx -jailshell: *syntax error near unexpected token `)'*  
  
  ---
  
  ### Answer by username_2 on 2018-06-13. Score: 0
  
  The administrator manual has a section on how to setup the cron command. <https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/#cron>
  
  
  ---
  
  