Answers.Body: <p>After much trial and error, this command line seems to work in the Cpanel cron environment:</p>
  
  <p>wget -q -t 1 'https:///administrator/components/com_civicrm/civicrm/bin/cron.php?name=&amp;pass=&amp;key=' </p>
  
  <p>instead of php trying to run cron.php.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-30T15:41:54.197Z
Answers.LastActivityDate: 2019-09-30T15:41:54.197Z
Answers.UserDisplayName: Stephen Palmstrom
Body: <p>After upgrading to CiviCRM 5.17.4 under Joomla the cron jobs that had worked happily before stopped.  They didn't seem to be giving any error, but CiviCRM reported that they had failed to run.  We using Cpanel and have the following command line:</p>
  
  <pre><code>php &lt;path&gt;/administrator/components/com_civicrm/civicrm/bin/cli.php -s https://&lt;url&gt;-u &lt;user&gt; -p &lt;password&gt; -e Job -a execute
  </code></pre>
  
  <p>Any suggestions. We have tried running cron.php, but that, in its current form, doesn't handle parameters when run from the command line.</p>
  
  <p>Has anyone else seen the issue?</p>
  
Tags: <cron-job>
Title: cron job stops running after upgrade to 5.17.4
ThreadText: # cron job stops running after upgrade to 5.17.4
  
  (Asked by: username_0 on 2019-09-27)
  
  After upgrading to CiviCRM 5.17.4 under Joomla the cron jobs that had worked happily before stopped. They didn't seem to be giving any error, but CiviCRM reported that they had failed to run. We using Cpanel and have the following command line:
  
  ```
  php <path>/administrator/components/com_civicrm/civicrm/bin/cli.php -s https://<url>-u <user> -p <password> -e Job -a execute
  
  ```
  
  Any suggestions. We have tried running cron.php, but that, in its current form, doesn't handle parameters when run from the command line.
  
  Has anyone else seen the issue?
  
  **Tags:** cron-job
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-09-30. Score: 1
  
  After much trial and error, this command line seems to work in the Cpanel cron environment:
  
  wget -q -t 1 'https:///administrator/components/com\_civicrm/civicrm/bin/cron.php?name=&pass=&key='
  
  instead of php trying to run cron.php.
  
  
  ---
  
  