Answers.Body: <p>Try running <code>wp-cli</code> as a test, just to see if it works (eg. run it without parameters). If it does not, you just found the problem, so try the latest version.</p>
  <p>Or if you want to move away from using <code>wp-cli</code> for this, you can try some other options documented here: <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-08T19:56:19.850Z
Answers.LastActivityDate: 2023-01-08T19:56:19.850Z
Answers.UserDisplayName: lynxlynxlynx
Body: <p>wp 6 civi 5.51</p>
  <p>cron stopped working when webhost forced upgrade to php8
  It's a site I've inherited - they have extension cronplus installed. I'm not sure if it's this or maybe wp-cli?</p>
  <p>don't have cpanel access where i could generate the cron error</p>
  <p>command is */5 * * * * /usr/bin/php /www/xxxxxx/public/wp-cli.phar --user=xxxxx --url=https://xxxxx.org.au --path=/www/xxxxx/public/ civicrm api job.execute auth=0 &gt; /dev/null 2&gt;&amp;1</p>
  <p>read somewhere that maybe password now required - but have to say a bit out of my depth here</p>
  
Tags: <cron>
Title: cron fails with php8
ThreadText: # cron fails with php8
  
  (Asked by: username_0 on 2023-01-08)
  
  wp 6 civi 5.51
  
  cron stopped working when webhost forced upgrade to php8
  It's a site I've inherited - they have extension cronplus installed. I'm not sure if it's this or maybe wp-cli?
  
  don't have cpanel access where i could generate the cron error
  
  command is \*/5 \* \* \* \* /usr/bin/php /www/xxxxxx/public/wp-cli.phar --user=xxxxx --url=https://xxxxx.org.au --path=/www/xxxxx/public/ civicrm api job.execute auth=0 > /dev/null 2>&1
  
  read somewhere that maybe password now required - but have to say a bit out of my depth here
  
  **Tags:** cron
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-08. Score: 0
  
  Try running `wp-cli` as a test, just to see if it works (eg. run it without parameters). If it does not, you just found the problem, so try the latest version.
  
  Or if you want to move away from using `wp-cli` for this, you can try some other options documented here: <https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/>
  
  
  ---
  
  