Answers.Body: <p>Check that the user in your cron-script has superuser access in Joomla.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-22T10:04:37.300Z
Answers.LastActivityDate: 2016-04-22T10:04:37.300Z
Answers.UserDisplayName: Paul Kleingeld
Answers.Body: <p>I encountered this with a password (or key) that had special characters. 
  Don't use special characters for the password/key you want to use. 
  Keep it [a-z] [A-Z] [0-9] (alphanumeric).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-24T13:10:01.030Z
Answers.LastActivityDate: 2017-07-24T17:35:53.790Z
Answers.LastEditDate: 2017-07-24T17:35:53.790Z
Answers.UserDisplayName: Xander Hartog
Body: <p>With a Joomla 3.4.8 and CiviCRM 4.6.14 setup, I have been unable to run a simple cronjob. Upon suggestion from my host support team I generated a new site-key [following instructions on <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs]" rel="nofollow">https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs]</a>. I replaced the old key with the new one in both civicrm.settings.php files and ran the following cronjob on Terminal - curl -s <a href="http://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=username&amp;pass=password&amp;key=key" rel="nofollow">http://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=username&amp;pass=password&amp;key=key</a> but I am still getting the same error message. Any help would be appreciated.</p>
  
Tags: <joomla><cron-job>
Title: Still getting "ERROR: You need to send a valid key to execute this file" when running cronjob
ThreadText: # Still getting "ERROR: You need to send a valid key to execute this file" when running cronjob
  
  (Asked by: username_0 on 2016-03-30)
  
  With a Joomla 3.4.8 and CiviCRM 4.6.14 setup, I have been unable to run a simple cronjob. Upon suggestion from my host support team I generated a new site-key [following instructions on <https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs]>. I replaced the old key with the new one in both civicrm.settings.php files and ran the following cronjob on Terminal - curl -s <http://ashguild.ca/home/administrator/components/com_civicrm/civicrm/bin/cron.php?name=username&pass=password&key=key> but I am still getting the same error message. Any help would be appreciated.
  
  **Tags:** joomla, cron-job
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-04-22. Score: 1
  
  Check that the user in your cron-script has superuser access in Joomla.
  
  
  ---
  
  ### Answer by username_2 on 2017-07-24. Score: 1
  
  I encountered this with a password (or key) that had special characters.
  Don't use special characters for the password/key you want to use.
  Keep it [a-z] [A-Z] [0-9] (alphanumeric).
  
  
  ---
  
  